diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-21 15:53:40 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-11 14:21:41 +0200 |
commit | f0213e3796b4dd66e546e2de4d677db319f9171b (patch) | |
tree | a7c41b70eb2b3e31e760c64afae75702fe1eb00d /src/network/networkd-route.h | |
parent | e930d14ac87cbd9280719a30c9ae549821f3adaa (diff) |
networkd: route/address - simplify and unify creators
Rename new_dynamic() to simply _new() and reuse that from new_static().
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r-- | src/network/networkd-route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h index 11e94d44fb..b7e5bfb057 100644 --- a/src/network/networkd-route.h +++ b/src/network/networkd-route.h @@ -46,7 +46,7 @@ struct Route { }; int route_new_static(Network *network, unsigned section, Route **ret); -int route_new_dynamic(Route **ret, unsigned char rtm_protocol); +int route_new(Route **ret, unsigned char rtm_protocol); void route_free(Route *route); int route_configure(Route *route, Link *link, sd_netlink_message_handler_t callback); int route_drop(Route *route, Link *link, sd_netlink_message_handler_t callback); |