summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-11-21 12:43:57 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-11-21 12:43:57 +0000
commit6d50e474de7934d6d11036de096712702e64ab64 (patch)
treeabab2a3d7a605a7bbe76196ecf1cc966e625f0f0 /usr.sbin/tcpdump
parent047724973554633a9bf1468914a51c1f9cf8e64f (diff)
in octal, eight looks like 10... fix the STP_FLAGS_BITS definition
introduced with my previous commit.
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-stp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-stp.c b/usr.sbin/tcpdump/print-stp.c
index 55bf115e0da..e4ba7dcf255 100644
--- a/usr.sbin/tcpdump/print-stp.c
+++ b/usr.sbin/tcpdump/print-stp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-stp.c,v 1.5 2006/11/19 17:54:44 reyk Exp $ */
+/* $OpenBSD: print-stp.c,v 1.6 2006/11/21 12:43:56 reyk Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -80,7 +80,7 @@ struct rtentry;
#define STP_FLAGS_A 0x40 /* Agreement flag */
#define STP_FLAGS_TCA 0x80 /* Topology change ack */
#define STP_FLAGS_BITS \
- "\20\1TC\2PROPOSAL\5LEARNING\6FORWARDING\7AGREED\8TCACK"
+ "\20\1TC\2PROPOSAL\5LEARNING\6FORWARDING\7AGREED\10TCACK"
enum {
STP_PROTO_STP = 0x00,