secchan: Increase max number of local_cbs to accommodate STP.
authorBen Pfaff <blp@nicira.com>
Tue, 14 Oct 2008 20:10:48 +0000 (13:10 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 14 Oct 2008 20:31:09 +0000 (13:31 -0700)
secchan/secchan.c

index 9795c90ccc26800a1fed82efa533166adc1fba39..d36da2564fd46dca7885b4ef208df88b8f70dd96 100644 (file)
@@ -640,7 +640,7 @@ struct port_watcher {
     int n_txq;
     struct port_watcher_cb cbs[2];
     int n_cbs;
-    struct port_watcher_local_cb local_cbs[2];
+    struct port_watcher_local_cb local_cbs[4];
     int n_local_cbs;
     char local_port_name[OFP_MAX_PORT_NAME_LEN + 1];
 };