Re: [ovs-dev] [PATCH 2/4] odp-util: Skip UFID when parsing datapath key.

2015-05-27 Thread Joe Stringer
On 26 May 2015 at 18:03, Ben Pfaff wrote: > On Thu, May 21, 2015 at 03:11:50PM -0700, Joe Stringer wrote: >> Signed-off-by: Joe Stringer > > ... >> +s += strspn(s, "0123456789abcdef"); > > It would be kind to skip capital hex digits too, just in case someone > manually retypes one with ca

Re: [ovs-dev] [PATCH 2/4] odp-util: Skip UFID when parsing datapath key.

2015-05-26 Thread Ben Pfaff
On Thu, May 21, 2015 at 03:11:50PM -0700, Joe Stringer wrote: > Signed-off-by: Joe Stringer ... > +s += strspn(s, "0123456789abcdef"); It would be kind to skip capital hex digits too, just in case someone manually retypes one with caps lock on. Acked-by: Ben Pfaff _

[ovs-dev] [PATCH 2/4] odp-util: Skip UFID when parsing datapath key.

2015-05-21 Thread Joe Stringer
Signed-off-by: Joe Stringer --- lib/odp-util.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/lib/odp-util.c b/lib/odp-util.c index 962b84b..e402888 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -2714,6 +2714,17 @@ static int parse_odp_key_mask_attr(const char *s, const s