git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofproto: Always clone packets in PACKET_IN message.
[sliver-openvswitch.git]
/
lib
/
ovsdb-parser.c
diff --git
a/lib/ovsdb-parser.c
b/lib/ovsdb-parser.c
index
e1832a9
..
c46c237
100644
(file)
--- a/
lib/ovsdb-parser.c
+++ b/
lib/ovsdb-parser.c
@@
-80,7
+80,7
@@
ovsdb_parser_member(struct ovsdb_parser *parser, const char *name,
return NULL;
}
- if ((value->type >= 0 && value->type < JSON_N_TYPES
+ if ((
(int)
value->type >= 0 && value->type < JSON_N_TYPES
&& types & (1u << value->type))
|| (types & OP_ID && value->type == JSON_STRING
&& ovsdb_parser_is_id(value->u.string)))