projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca00e5d
)
ovs-dpctl: Fix setting of packet length for "controller" action
author
Tetsuo NAKAGAWA
<nakagawa@mxc.nes.nec.co.jp>
Sat, 20 Feb 2010 10:52:46 +0000
(
02:52
-0800)
committer
Justin Pettit
<jpettit@nicira.com>
Sat, 20 Feb 2010 11:03:29 +0000
(
03:03
-0800)
utilities/ovs-ofctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-ofctl.c
b/utilities/ovs-ofctl.c
index 69f8adfd93721401a969261489df165d94782d76..9a75969bc828a24f43b1519122f69996b9c023ea 100644
(file)
--- a/
utilities/ovs-ofctl.c
+++ b/
utilities/ovs-ofctl.c
@@
-643,7
+643,7
@@
str_to_action(char *str, struct ofpbuf *b)
/* Unless a numeric argument is specified, we send the whole
* packet to the controller. */
- if (arg && (strspn(a
ct, "0123456789") == strlen(act
))) {
+ if (arg && (strspn(a
rg, "0123456789") == strlen(arg
))) {
oao->max_len = htons(str_to_u32(arg));
} else {
oao->max_len = htons(UINT16_MAX);