LGTM Acked-by: Jarno Rajahalme <jrajaha...@nicira.com>
> On Dec 19, 2013, at 1:50 PM, Alex Wang <al...@nicira.com> wrote: > > This commit fixes a command matching error introduced by commit > 7155fa52f (ofproto-dpif: Add 'force-miss-model' configuration). > > Signed-off-by: Alex Wang <al...@nicira.com> > --- > vswitchd/bridge.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c > index 9282c59..929033b 100644 > --- a/vswitchd/bridge.c > +++ b/vswitchd/bridge.c > @@ -884,9 +884,9 @@ bridge_configure_flow_miss_model(const char *opt) > enum ofproto_flow_miss_model model = OFPROTO_HANDLE_MISS_AUTO; > > if (opt) { > - if (strcmp(opt, "with-facets")) { > + if (!strcmp(opt, "with-facets")) { > model = OFPROTO_HANDLE_MISS_WITH_FACETS; > - } else if (strcmp(opt, "without-facets")) { > + } else if (!strcmp(opt, "without-facets")) { > model = OFPROTO_HANDLE_MISS_WITHOUT_FACETS; > } > } > -- > 1.7.9.5 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev