[ovs-dev] [PATCH] ovn-northd: Remove info log in extract_lport_addresses().
Han Zhou
zhouhan at gmail.com
Fri Feb 26 07:35:35 UTC 2016
When a lport is with address "unknown", the function will complain
and print misleading logs. There is no need to print the log.
---
ovn/northd/ovn-northd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index b2b1a45..63f3fcd 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -963,9 +963,6 @@ extract_lport_addresses(char *address, struct lport_addresses *laddrs,
char *buf_end = buf + strlen(address);
if (!ovs_scan_len(buf, &buf_index, ETH_ADDR_SCAN_FMT,
ETH_ADDR_SCAN_ARGS(laddrs->ea))) {
- static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 1);
- VLOG_INFO_RL(&rl, "invalid syntax '%s' in address. No MAC address"
- " found", address);
return false;
}
--
2.1.0
More information about the dev
mailing list