bridge: Log port destruction
authorJustin Pettit <jpettit@nicira.com>
Thu, 21 Oct 2010 22:37:57 +0000 (15:37 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 21 Oct 2010 22:43:06 +0000 (15:43 -0700)
We log when we create a port, so let's log when we destroy one for
parity.

vswitchd/bridge.c

index 24c3640..aee84d8 100644 (file)
@@ -3564,6 +3564,8 @@ port_destroy(struct port *port)
         del = br->ports[port->port_idx] = br->ports[--br->n_ports];
         del->port_idx = port->port_idx;
 
+        VLOG_INFO("destroyed port %s on bridge %s", port->name, br->name);
+
         netdev_monitor_destroy(port->monitor);
         free(port->ifaces);
         bitmap_free(port->trunks);