summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrzalamena <rzalamena@openbsd.org>2016-11-18 18:35:20 +0000
committerrzalamena <rzalamena@openbsd.org>2016-11-18 18:35:20 +0000
commit677ebbdaac674fec2da2e5897b0fab293802acab (patch)
treea88a3dd8dc2aeb464238a12197548bc5986c3d4f
parentmiss_send_len can also be a CONTROLLER_MAXLEN string not just a number. (diff)
downloadwireguard-openbsd-677ebbdaac674fec2da2e5897b0fab293802acab.tar.xz
wireguard-openbsd-677ebbdaac674fec2da2e5897b0fab293802acab.zip
Don't print the field 'actions' on features reply, because in the new
OpenFlow 1.3.5 it is a reserved field that is not being used.
-rw-r--r--usr.sbin/tcpdump/print-ofp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-ofp.c b/usr.sbin/tcpdump/print-ofp.c
index 3d725b9dcd6..2c3e869d514 100644
--- a/usr.sbin/tcpdump/print-ofp.c
+++ b/usr.sbin/tcpdump/print-ofp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ofp.c,v 1.5 2016/11/18 17:39:39 reyk Exp $ */
+/* $OpenBSD: print-ofp.c,v 1.6 2016/11/18 18:35:20 rzalamena Exp $ */
/*
* Copyright (c) 2016 Rafael Zalamena <rzalamena@openbsd.org>
@@ -206,10 +206,10 @@ ofp_print_featuresreply(const u_char *bp, u_int length)
swf = (struct ofp_switch_features *)bp;
printf(" <datapath_id %#016llx nbuffers %u ntables %d aux_id %d "
- "capabilities %#08x actions %#08x>",
+ "capabilities %#08x>",
be64toh(swf->swf_datapath_id), ntohl(swf->swf_nbuffers),
swf->swf_ntables, swf->swf_aux_id,
- ntohl(swf->swf_capabilities), ntohl(swf->swf_actions));
+ ntohl(swf->swf_capabilities));
}
void