summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@cvs.openbsd.org>2016-11-22 13:01:33 +0000
committerRafael Zalamena <rzalamena@cvs.openbsd.org>2016-11-22 13:01:33 +0000
commit254b4a7404b463579fff85c24dce5396dffe1a8e (patch)
treeb509b28ab42ca58d0ddad5af969e8cc09fecb62f /sys/net
parent3a43a14cf35559df6f314a30b7eeb4094f1cc44e (diff)
Fix OFP spelling for version bitmap define in ofp header and tcpdump, also
change the truncation message in hello with the standard one. ok reyk@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ofp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/ofp.h b/sys/net/ofp.h
index bc9022ded4e..73f4a730f58 100644
--- a/sys/net/ofp.h
+++ b/sys/net/ofp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofp.h,v 1.11 2016/11/20 12:45:26 reyk Exp $ */
+/* $OpenBSD: ofp.h,v 1.12 2016/11/22 13:01:32 rzalamena Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -86,7 +86,7 @@ struct ofp_hello_element_header {
uint16_t he_length;
} __packed;
-#define OPF_HELLO_T_VERSION_BITMAP 1 /* Supported version bitmap */
+#define OFP_HELLO_T_VERSION_BITMAP 1 /* Supported version bitmap */
struct ofp_hello_element_versionbitmap {
uint16_t hev_type;
@@ -894,4 +894,4 @@ struct dlt_openflow_hdr {
#define DLT_OPENFLOW_TO_SWITCH 1
#define DLT_OPENFLOW_TO_CONTROLLER 2
-#endif /* _NET_OPF_H_ */
+#endif /* _NET_OFP_H_ */