From 1de22c3b3ec82e7b1152085138a169f5703b2217 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Mon, 13 Apr 2009 17:57:12 +0000 Subject: [PATCH] In case the peer address was already configured on the interface we were not properly handling proxy arp. Make sure we (try to) add the proxy arp entry/entries in this case as well. PR: bin/131250 Submitted by: loos.br gmail.com (Luiz Otavio O Souza) MFC after: 3 days --- usr.sbin/ppp/iface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index 5c7f7d0640b4..32bb590cfbcf 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 */ }