connection fills up, some messages will be lost.
.TP
-\fB--no-stp\fR
-Disable implementation of IEEE 802.1D Spanning Tree Protocol at the
-switch.
+\fB--stp\fR, \fB--no-stp\fR
+Enable or disable implementation of IEEE 802.1D Spanning Tree Protocol
+at the switch. The default is \fB--no-stp\fR in this distribution,
+because bugs in the STP implementation are still being worked out.
+The default will change to \fB--stp\fR at some point in the future.
.TP
\fB-p\fR, \fB--private-key=\fIprivkey.pem\fR
OPT_RATE_LIMIT,
OPT_BURST_LIMIT,
OPT_BOOTSTRAP_CA_CERT,
+ OPT_STP,
OPT_NO_STP
};
static struct option long_options[] = {
{"monitor", required_argument, 0, 'm'},
{"rate-limit", optional_argument, 0, OPT_RATE_LIMIT},
{"burst-limit", required_argument, 0, OPT_BURST_LIMIT},
+ {"stp", no_argument, 0, OPT_STP},
{"no-stp", no_argument, 0, OPT_NO_STP},
{"detach", no_argument, 0, 'D'},
{"force", no_argument, 0, 'f'},
s->update_resolv_conf = true;
s->rate_limit = 0;
s->burst_limit = 0;
- s->enable_stp = true;
+ s->enable_stp = false;
for (;;) {
int c;
}
break;
+ case OPT_STP:
+ s->enable_stp = true;
+ break;
+
case OPT_NO_STP:
s->enable_stp = false;
break;
" (a passive OpenFlow connection method)\n"
" -m, --monitor=METHOD copy traffic to/from kernel to METHOD\n"
" (a passive OpenFlow connection method)\n"
+ " --stp enable 802.1D Spanning Tree Protocol\n"
" --no-stp disable 802.1D Spanning Tree Protocol\n"
"\nRate-limiting of \"packet-in\" messages to the controller:\n"
" --rate-limit[=PACKETS] max rate, in packets/s (default: 1000)\n"