Merge pull request #2926 from weaveworks/issues/2808-improve-hairpin-messages

Fixes #2808. Improve hairpin log messages.
This commit is contained in:
Marc Carré authored and GitHub committed 2017-05-03 20:21:20 +01:00
commit d128488339
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -231,7 +231,8 @@ func main() {
if bridge != nil {
if err := weavenet.DetectHairpin("vethwe-bridge", Log); err != nil {
Log.Errorf("DetectHairpin failed: %s", err)
Log.Errorf("Setting may cause connectivity issues : %s", err)
Log.Infof("Hairpin mode may have been enabled by other software on this machine")
}
}
+1 -1
View File
@@ -1224,7 +1224,7 @@ func (fastdp *FastDatapath) send(fops FlowOp, frame []byte, lock *fastDatapathLo
}
if fastdp.isHairpinFlow(&flow) {
log.Error("Vetoed installation of hairpin flow ", flow)
log.Warning("Vetoed installation of hairpin flow ", flow)
return
}