diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-28 17:16:12 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-21 02:35:31 +0200 |
commit | 36c32f6120a0c3fe19be5aeaa1926e179e8c29ba (patch) | |
tree | c10e5f502a2757fa9e1bf1499063ec272a5c7039 /src/network/networkd-dhcp4.c | |
parent | 8012cd391932d58b44332df106d426a360faf0a6 (diff) |
networkd: address - factor out address_update()
Call back into link_check_ready() whenever an address state change may have
made a link ready.
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r-- | src/network/networkd-dhcp4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index e2f7d69666..5c91d9609f 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -299,9 +299,9 @@ static int dhcp4_update_address(Link *link, addr->prefixlen = prefixlen; addr->broadcast.s_addr = address->s_addr | ~netmask->s_addr; - /* use update rather than configure so that we will update the + /* use change rather than configure so that we will update the * lifetime of an existing address if it has already been configured */ - r = address_update(addr, link, &dhcp4_address_handler); + r = address_change(addr, link, &dhcp4_address_handler); if (r < 0) return r; |