Re: [ovs-dev] [branch-1.4] ofproto: Optionally flush all learning tables with appctl.

2012-01-24 Thread Ethan Jackson
> You can write strlen(args) more cheaply as args[0] != '\0'. Good point. > I assume that you will also put this in one fashion or another on > branch-1.5? branch-1.5 cherry picks cleanly. Ethan ___ dev mailing list dev@openvswitch.org http://openvswi

Re: [ovs-dev] [branch-1.4] ofproto: Optionally flush all learning tables with appctl.

2012-01-24 Thread Ben Pfaff
On Tue, Jan 24, 2012 at 03:04:32PM -0800, Ethan Jackson wrote: > Signed-off-by: Ethan Jackson Seems fine. You can write strlen(args) more cheaply as args[0] != '\0'. I assume that you will also put this in one fashion or another on branch-1.5? Thanks, Ben.

[ovs-dev] [branch-1.4] ofproto: Optionally flush all learning tables with appctl.

2012-01-24 Thread Ethan Jackson
Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif.c | 25 - vswitchd/ovs-vswitchd.8.in |5 +++-- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index d5ada4c..1e387ba 100644 --- a/ofproto/ofpro