summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/iface.c')
-rw-r--r--usr.sbin/ppp/iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c
index 5c7f7d0..32bb590 100644
--- a/usr.sbin/ppp/iface.c
+++ b/usr.sbin/ppp/iface.c
@@ -456,6 +456,7 @@ iface_Add(struct iface *iface, struct ncp *ncp, const struct ncprange *ifa,
if (ncprange_equal(&iface->addr[n].ifa, ifa) &&
ncpaddr_equal(&iface->addr[n].peer, peer)) {
close(s);
+ ncp_IfaceAddrAdded(ncp, iface->addr + n);
return 1; /* Already there */
}
OpenPOWER on IntegriCloud