summaryrefslogtreecommitdiff
path: root/print-openflow.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-09-30 14:41:45 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-09-30 14:53:37 +0100
commit2c7f188ff13d932e408da5ff5324aeebe71486cc (patch)
treecc67ed0adcc141e2a03649063e510e4139a8e610 /print-openflow.c
parente17e42550af9159faf1b27f203797af780de25c1 (diff)
downloadtcpdump-2c7f188ff13d932e408da5ff5324aeebe71486cc.tar.gz
OpenFlow 1.3: Get OFPT_HELLO right.
Decode the optional trailing data and update two tests.
Diffstat (limited to 'print-openflow.c')
-rw-r--r--print-openflow.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/print-openflow.c b/print-openflow.c
index 699ebe88..73c783d3 100644
--- a/print-openflow.c
+++ b/print-openflow.c
@@ -45,13 +45,6 @@
#include "oui.h"
-#define OF_VER_1_0 0x01
-#define OF_VER_1_1 0x02
-#define OF_VER_1_2 0x03
-#define OF_VER_1_3 0x04
-#define OF_VER_1_4 0x05
-#define OF_VER_1_5 0x06
-
static const struct tok ofver_str[] = {
{ OF_VER_1_0, "1.0" },
{ OF_VER_1_1, "1.1" },