diff options
author | guy <guy> | 2003-09-12 20:53:19 +0000 |
---|---|---|
committer | guy <guy> | 2003-09-12 20:53:19 +0000 |
commit | 88664d9c43dcd170c1195daf69495bfc0eca70e5 (patch) | |
tree | 5bc9ee741b52c69edea7afdd66ad34a151c9b9dd /print-stp.c | |
parent | 8c7aa2b43396ebd7435f07fecaf72e9c9da79bd6 (diff) | |
download | tcpdump-88664d9c43dcd170c1195daf69495bfc0eca70e5.tar.gz |
As noted in a bug report, the type for a topology change notification is
0x80, not 1.
Diffstat (limited to 'print-stp.c')
-rw-r--r-- | print-stp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print-stp.c b/print-stp.c index dd716957..1d4754fd 100644 --- a/print-stp.c +++ b/print-stp.c @@ -11,7 +11,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.10 2002-09-05 21:25:49 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.11 2003-09-12 20:53:19 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -81,13 +81,13 @@ stp_print(const u_char *p, u_int length) switch (p[6]) { - case 0: + case 0x00: if (length < 10) goto trunc; stp_print_config_bpdu(p); break; - case 1: + case 0x80: stp_print_tcn_bpdu(); break; |