diff options
Diffstat (limited to 'src/dhcpv4.c')
-rw-r--r-- | src/dhcpv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dhcpv4.c b/src/dhcpv4.c index bfe70cb..c8be632 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -293,7 +293,7 @@ static void decr_ref_cnt_ip(struct odhcpd_ref_ip **ptr, struct interface *iface) struct odhcpd_ref_ip *ip = *ptr; if (--ip->ref_cnt == 0) { - odhcpd_setup_addr(&ip->addr, iface, false, false); + netlink_setup_addr(&ip->addr, iface, false, false); list_del(&ip->head); free(ip); @@ -373,7 +373,7 @@ void dhcpv4_addr_update(struct interface *iface) a = list_first_entry(&iface->dhcpv4_fr_ips, struct odhcpd_ref_ip, head); - if (odhcpd_setup_addr(&a->addr, iface, false, true)) { + if (netlink_setup_addr(&a->addr, iface, false, true)) { syslog(LOG_ERR, "Failed to add ip address"); return; } |