ofp-util.h: Use NX_VENDOR_ID instead of literal numeric constant.
authorBen Pfaff <blp@nicira.com>
Thu, 4 Nov 2010 17:32:46 +0000 (10:32 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 5 Nov 2010 16:25:37 +0000 (09:25 -0700)
lib/ofp-util.h

index 1c683eca97d61cf7d27c331a9118b16578b8845d..c5a18975590e054cf54b16fb67507a8225b23f4e 100644 (file)
@@ -95,7 +95,7 @@ char *ofp_match_to_literal_string(const struct ofp_match *match);
 #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 {