mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
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
This commit is contained in:
parent
d5303c8027
commit
1de22c3b3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191006
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user