summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp6.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-01 17:31:14 +0200
committerTom Gundersen <teg@jklm.no>2015-10-21 02:35:31 +0200
commit6666907869fb3bc7fe6a6025540db5b887c7a78b (patch)
tree7ccee1a1cd8290c11de5a4362daafd8360dbc921 /src/network/networkd-dhcp6.c
parent36c32f6120a0c3fe19be5aeaa1926e179e8c29ba (diff)
networkd: address - merge _change() into _configure()
These functions are almost entirely the same, so avoid duplication.
Diffstat (limited to 'src/network/networkd-dhcp6.c')
-rw-r--r--src/network/networkd-dhcp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index 95cdb80b0a..fb93e6606e 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -87,7 +87,7 @@ static int dhcp6_address_change(Link *link, struct in6_addr *ip6_addr,
SD_ICMP6_ND_ADDRESS_FORMAT_VAL(addr->in_addr.in6),
addr->prefixlen, lifetime_preferred, lifetime_valid);
- r = address_change(addr, link, dhcp6_address_handler);
+ r = address_configure(addr, link, dhcp6_address_handler, true);
if (r < 0)
log_link_warning_errno(link, r, "Could not assign DHCPv6 address: %m");