Improve hairpin log messages

This commit is contained in:
Bryan Boreham committed 2017-05-03 14:35:20 +00:00
1 parent cc77ad2c65
commit b19f2df6f8
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
}