Merge pull request #1116 from sanimej/ov

Correct the check in l3 miss handling in overlay driver
This commit is contained in:
Jana Radhakrishnan 2016-04-15 11:15:45 -07:00
commit 3c210335cd

View file

@ -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