Merge pull request #1116 from sanimej/ov
Correct the check in l3 miss handling in overlay driver
This commit is contained in:
commit
3c210335cd
1 changed files with 2 additions and 1 deletions
|
@ -403,9 +403,10 @@ func (n *network) watchMiss(nlSock *nl.NetlinkSocket) {
|
|||
continue
|
||||
}
|
||||
|
||||
if neigh.IP.To16() != nil {
|
||||
if neigh.IP.To4() == nil {
|
||||
continue
|
||||
}
|
||||
logrus.Debugf("miss notification for dest IP, %v", neigh.IP.String())
|
||||
|
||||
if neigh.State&(netlink.NUD_STALE|netlink.NUD_INCOMPLETE) == 0 {
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue