mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove the error message on mac delete failure..
Deletion of the dynamic mac is expected to work only if there was active traffic with that endpoint and a dynamic entry exists. It can also age out. Hence the mac removal failing is not error. Removing it to make the debugging easier when parsing the logs. Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
parent
b90d0c0ed2
commit
d51ed8a97b
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
nlh.NeighDel(nlnh)
|
||||||
logrus.Warnf("Deleting bridge mac mac %s failed, %v", dstMac, err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue