Signed-off-by: William Tu <[email protected]>
---
vswitchd/bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 8ebfc66..7244e11 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1999,7 +1999,7 @@ find_local_hw_addr(const struct bridge *br, struct
eth_addr *ea,
/* The local port doesn't count (since we're trying to choose its
* MAC address anyway). */
- if (iface->ofp_port == OFPP_LOCAL) {
+ if (iface && iface->ofp_port == OFPP_LOCAL) {
continue;
}
--
2.5.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev