projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c018a5
)
ofp-print: Use ntohs() for 16-bit field, not ntohl().
author
Ben Pfaff
<blp@nicira.com>
Thu, 5 Mar 2009 01:42:35 +0000
(17:42 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 5 Mar 2009 01:43:01 +0000
(17:43 -0800)
Noticed by Natasha.
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index d1adae4a11fc23895ef3b6ff3ba0f04fb5142292..a036db5d9cd2d8bf358fcb58c238c81df1ce4637 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-215,7
+215,7
@@
ofp_print_nx_action(struct ds *string, const struct nx_action_header *nah)
}
} else {
ds_put_format(string, "***unknown Nicira action:%d***\n",
-
ntohl
(nah->subtype));
+
ntohs
(nah->subtype));
}
}