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-link.c | |
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-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index ffc9578e86..e9047dd6a6 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -2074,7 +2074,7 @@ int link_rtnl_process_address(sd_netlink *rtnl, sd_netlink_message *message, voi } } - r = address_new_dynamic(&address); + r = address_new(&address); if (r < 0) return r; |