mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Correct the check in l3 miss handling in overlay driver
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
parent
ab884914c9
commit
39bc023caf
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