git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fef0b0d
)
ofp-util.h: Use NX_VENDOR_ID instead of literal numeric constant.
author
Ben Pfaff
<blp@nicira.com>
Thu, 4 Nov 2010 17:32:46 +0000
(10:32 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 4 Nov 2010 17:37:25 +0000
(10:37 -0700)
lib/ofp-util.h
patch
|
blob
|
history
diff --git
a/lib/ofp-util.h
b/lib/ofp-util.h
index
83193e2
..
ef79588
100644
(file)
--- a/
lib/ofp-util.h
+++ b/
lib/ofp-util.h
@@
-100,7
+100,7
@@
void ntoh_ofp_phy_port(struct ofp_phy_port *);
#define OFPUTIL_VENDORS \
/* vendor name vendor value */ \
OFPUTIL_VENDOR(OFPUTIL_VENDOR_OPENFLOW, 0x00000000) \
- OFPUTIL_VENDOR(OFPUTIL_VENDOR_NICIRA,
0x00002320
)
+ OFPUTIL_VENDOR(OFPUTIL_VENDOR_NICIRA,
NX_VENDOR_ID
)
/* OFPUTIL_VENDOR_* definitions. */
enum ofputil_vendor_codes {