> 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
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.
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