projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a846b35
)
Cleanup printing of ofp_port_mod a bit.
author
Justin Pettit
<jpettit@nicira.com>
Tue, 23 Sep 2008 18:22:03 +0000
(11:22 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 23 Sep 2008 18:22:03 +0000
(11:22 -0700)
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index bacd37ccd39ace4e4ede2243def775777fa1750b..bd064f78df474f4766f9a85c1a5ac85eb310b5af 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-683,11
+683,11
@@
ofp_print_port_mod(struct ds *string, const void *oh, size_t len,
ds_put_format(string, "port: %d: addr:"ETH_ADDR_FMT", config: %#x, mask:%#x\n",
ntohs(opm->port_no), ETH_ADDR_ARGS(opm->hw_addr),
ntohl(opm->config), ntohl(opm->mask));
- ds_put_format(string, "
advertised
: ");
+ ds_put_format(string, "
advertise
: ");
if (opm->advertise) {
ofp_print_port_features(string, ntohl(opm->advertise));
} else {
- ds_put_format(string, "U
nchanged
\n");
+ ds_put_format(string, "U
NCHANGED
\n");
}
}