summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-01-27 15:46:41 -0800
committerBen Pfaff <blp@ovn.org>2016-02-19 12:54:45 -0800
commit2123bc8c0991e82b43c396cf986fd651f2810c1e (patch)
tree1d6f2ed9d27af330bba4d068513ced6ea8b901c8 /build-aux
parent4077f060cc835965b9a2ca0ce11779dfcd0f5742 (diff)
downloadopenvswitch-2123bc8c0991e82b43c396cf986fd651f2810c1e.tar.gz
ofp-msgs: Add support for ONF extension messages.
ONF introduced a number of "standard extensions" that use its own vendor (experimenter) ID. This commit adds support for such extensions to ofp-msgs. These extensions were already half-supported, so there's barely any change to build-aux/extract-ofp-msgs. This isn't fully tested, since nothing adds support for such a message yet. Requested-by: Jarno Rajahalme <jarno@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/extract-ofp-msgs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs
index b00039d24..d3c4d4cd5 100755
--- a/build-aux/extract-ofp-msgs
+++ b/build-aux/extract-ofp-msgs
@@ -161,7 +161,7 @@ def extract_ofp_msgs(output_file_name):
hdrs = (version, OFPT10_STATS_REPLY, number, 0, 0)
else:
hdrs = (version, OFPT11_STATS_REPLY, number, 0, 0)
- elif type_ == 'ONF':
+ elif type_ == 'ONFT':
hdrs = (version, OFPT_VENDOR, 0, ONF_VENDOR_ID, number)
elif type_ == 'ONFST' and name.endswith('_REQUEST'):
if version == VERSION["1.0"]: