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
Fix bug that could have caused infinite loop in ofp_print_actions().
[sliver-openvswitch.git]
/
lib
/
ofp-print.c
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index
8dcc3bb
..
2057473
100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-448,7
+448,7
@@
ofp_print_actions(struct ds *string, const struct ofp_action_header *action,
size_t actions_len)
{
uint8_t *p = (uint8_t *)action;
-
size_
t len = 0;
+
in
t len = 0;
ds_put_cstr(string, "actions=");
while (actions_len > 0) {