Merge pull request #1355 from aboch/advi
Check for advertise IP when deriving ipsec nodes
This commit is contained in:
commit
145d07fbe0
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ func (d *driver) checkEncryption(nid string, rIP net.IP, vxlanID uint32, isLocal
|
|||
switch {
|
||||
case isLocal:
|
||||
if err := d.peerDbNetworkWalk(nid, func(pKey *peerKey, pEntry *peerEntry) bool {
|
||||
if !lIP.Equal(pEntry.vtep) {
|
||||
if !aIP.Equal(pEntry.vtep) {
|
||||
nodes[pEntry.vtep.String()] = pEntry.vtep
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Add table
Reference in a new issue