浏览代码

Merge pull request #1866 from sanimej/debug

Remove the error message on mac delete failure..
Madhu Venugopal 8 年之前
父节点
当前提交
fd4c132569
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      libnetwork/osl/neigh_linux.go

+ 1 - 3
libnetwork/osl/neigh_linux.go

@@ -91,9 +91,7 @@ func (n *networkNamespace) DeleteNeighbor(dstIP net.IP, dstMac net.HardwareAddr,
 			if nh.linkDst != "" {
 			if nh.linkDst != "" {
 				nlnh.LinkIndex = iface.Attrs().Index
 				nlnh.LinkIndex = iface.Attrs().Index
 			}
 			}
-			if err := nlh.NeighDel(nlnh); err != nil {
-				logrus.Warnf("Deleting bridge mac mac %s failed, %v", dstMac, err)
-			}
+			nlh.NeighDel(nlnh)
 		}
 		}
 	}
 	}