Browse Source

Merge pull request #1116 from sanimej/ov

Correct the check in l3 miss handling in overlay driver
Jana Radhakrishnan 9 years ago
parent
commit
3c210335cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libnetwork/drivers/overlay/ov_network.go

+ 2 - 1
libnetwork/drivers/overlay/ov_network.go

@@ -403,9 +403,10 @@ func (n *network) watchMiss(nlSock *nl.NetlinkSocket) {
 				continue
 				continue
 			}
 			}
 
 
-			if neigh.IP.To16() != nil {
+			if neigh.IP.To4() == nil {
 				continue
 				continue
 			}
 			}
+			logrus.Debugf("miss notification for dest IP, %v", neigh.IP.String())
 
 
 			if neigh.State&(netlink.NUD_STALE|netlink.NUD_INCOMPLETE) == 0 {
 			if neigh.State&(netlink.NUD_STALE|netlink.NUD_INCOMPLETE) == 0 {
 				continue
 				continue