From: Ben Pfaff Date: Wed, 23 Jul 2008 20:07:40 +0000 (-0700) Subject: secchan: Improve logging when rejecting a controller vconn. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fbf6abfb00e32a71a45eee5445dc0ad8bb18dce;p=openvswitch secchan: Improve logging when rejecting a controller vconn. --- diff --git a/secchan/secchan.c b/secchan/secchan.c index e99499d5..0f8ac987 100644 --- a/secchan/secchan.c +++ b/secchan/secchan.c @@ -666,6 +666,10 @@ validate_dhcp_offer(const struct dhcp_msg *msg, void *aux) return false; } accept = !regexec(&accept_controller_regex, vconn_name, 0, NULL, 0); + if (!accept) { + VLOG_WARN("rejecting controller vconn that fails to match %s", + accept_controller_re); + } free(vconn_name); return accept; }