[ovs-dev] [tests 05/22] bridge: Drop warning about the default bridge Ethernet address.

Ben Pfaff blp at nicira.com
Fri Oct 26 00:02:01 UTC 2012


This information is also available via ovs-ofctl and through other means,
and it's not really anything we need to warn about anyhow.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 vswitchd/bridge.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index a481f06..be75e11 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1546,16 +1546,6 @@ bridge_pick_local_hw_addr(struct bridge *br, uint8_t ea[ETH_ADDR_LEN],
             found_addr = true;
         }
     }
-    if (found_addr) {
-        VLOG_DBG("bridge %s: using bridge Ethernet address "ETH_ADDR_FMT,
-                 br->name, ETH_ADDR_ARGS(ea));
-    } else {
-        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 10);
-        memcpy(ea, br->default_ea, ETH_ADDR_LEN);
-        *hw_addr_iface = NULL;
-        VLOG_WARN_RL(&rl, "bridge %s: using default bridge Ethernet "
-                     "address "ETH_ADDR_FMT, br->name, ETH_ADDR_ARGS(ea));
-    }
 
     hmapx_destroy(&mirror_output_ports);
 }
-- 
1.7.2.5




More information about the dev mailing list