15 years agoapply some heuristics to detect MPLS ICMP extension headers because
hannes [Tue, 12 Dec 2006 14:33:20 +0000 (14:33 +0000)] 
apply some heuristics to detect MPLS ICMP extension headers because
not all implementations correctly set the length field in the
ICMP header as per draft-bonica-internet-icmp-08.

if the length field is not set then simply check the checksum.

15 years agorework on the ICMP MPLS extension code:
hannes [Tue, 12 Dec 2006 10:51:35 +0000 (10:51 +0000)] 
rework on the ICMP MPLS extension code:
- preserve the snapend pointer as it may get overwritten by calling the IP printer
- protect against infinite loops inside the MPLS extension printer.
- detect present of an MPLS extension header by introducing a length field to the ICMP header
  as per draft-bonica-internet-icmp-08.

15 years agoMark Krochmal says that the class field should be treated in mDNS as a
guy [Sun, 12 Nov 2006 23:12:22 +0000 (23:12 +0000)] 
Mark Krochmal says that the class field should be treated in mDNS as a
flag and a 15-bit field even for OPT RRs.

15 years agoFor OPT resource records, the class field is used as a length, so, if one
guy [Sun, 12 Nov 2006 22:23:17 +0000 (22:23 +0000)] 
For OPT resource records, the class field is used as a length, so, if one
happens to be in an mDNS packet, we don't split it into a class and a
"cache flush" flag.

15 years agoThe topmost bit in the class field isn't a "cache flush" flag in mDNS
guy [Fri, 10 Nov 2006 03:15:35 +0000 (03:15 +0000)] 
The topmost bit in the class field isn't a "cache flush" flag in mDNS
queries.  Display that bit correctly (as per Marc Krochmal's request).

In mDNS, the topmost bit of the class field should be handled the same
way regardless of the value of the lower 15 bits, and *vice versa* -
they're independent fields.

15 years agoFrom Jun Kuriyama:
guy [Wed, 25 Oct 2006 22:13:30 +0000 (22:13 +0000)] 
From Jun Kuriyama:

I noticed tcpdump (on FreeBSD 6.1) cannot show pflog
reason value 8 (should be "ip-option").

I made a patch for print-pflog.c to add more values
which obtained from /usr/include/net/pfvar.h on FreeBSD

15 years agoFrom Shinsuke Suzuki:
guy [Wed, 25 Oct 2006 22:04:36 +0000 (22:04 +0000)] 
From Shinsuke Suzuki:

Some of the options in print-dhcp6.c are declared as
"unassigned ones". but it is no longer true due to an
IETF standardization activities.

Here's the patch to catch up with the latest IANA
assignment, including an removal of the old Prefix-
Delegation option used in the NTT-communications.
(AFAIK they no longer uses this old option).

15 years agobugfix from Aaron Campbel <>:
hannes [Fri, 6 Oct 2006 06:26:40 +0000 (06:26 +0000)] 
bugfix from Aaron Campbel <>:
The expression (BGP_OSPF_RTYPE_EXT ||BGP_OSPF_RTYPE_NSSA) will always evaluate to 1.

15 years agoupdated version
mcr [Tue, 19 Sep 2006 19:27:49 +0000 (19:27 +0000)] 
updated version

15 years agoPrep for 3.9.5 release
ken [Tue, 19 Sep 2006 18:24:44 +0000 (18:24 +0000)] 
Prep for 3.9.5 release

15 years agoremove redundant TRUE|FALSE defs and move them to tcpdump-stdinc.h
hannes [Fri, 23 Jun 2006 02:07:27 +0000 (02:07 +0000)] 
remove redundant TRUE|FALSE defs and move them to tcpdump-stdinc.h

15 years agodo not bail if we hit a zero-length TLV, continue to read the next TLV header instead.
hannes [Fri, 16 Jun 2006 18:22:56 +0000 (18:22 +0000)] 
do not bail if we hit a zero-length TLV, continue to read the next TLV header instead.

15 years agoPick up check for bad FCS from NetBSD version.
guy [Tue, 13 Jun 2006 22:25:43 +0000 (22:25 +0000)] 
Pick up check for bad FCS from NetBSD version.

15 years agoUpdate from current NetBSD version of ieee80211_radiotap.h.
guy [Tue, 13 Jun 2006 22:24:45 +0000 (22:24 +0000)] 
Update from current NetBSD version of ieee80211_radiotap.h.

15 years agoFrom Don Ebright: some compilers, such as the AIX compiler, reject a
guy [Fri, 12 May 2006 01:46:17 +0000 (01:46 +0000)] 
From Don Ebright: some compilers, such as the AIX compiler, reject a
comma at the end of the last member of an enum (the C language spec
doesn't say it's valid to have one there).

15 years agoAdd missing variable.
guy [Wed, 10 May 2006 22:42:46 +0000 (22:42 +0000)] 
Add missing variable.

15 years agoFrom Wesley Griffin <>: print out the
guy [Fri, 7 Apr 2006 08:58:43 +0000 (08:58 +0000)] 
From Wesley Griffin <>: print out the
DNSSEC OK bit (RFC3225) which is encoded in the TTL field of the OPT
pseudo RR.

15 years agoFrom Wesley Griffin <>: update the list of
guy [Fri, 7 Apr 2006 08:48:09 +0000 (08:48 +0000)] 
From Wesley Griffin <>: update the list of
DNS RR typecodes.

15 years agoExtract "firstPacket" into a variable with EXTRACT_32BITS(), and use
guy [Fri, 7 Apr 2006 08:40:20 +0000 (08:40 +0000)] 
Extract "firstPacket" into a variable with EXTRACT_32BITS(), and use
that whenever we print its value, so that we always get it in the right
byte order.

15 years agobugfix: wrong offset calculation for restart holdtimer
hannes [Thu, 6 Apr 2006 13:44:19 +0000 (13:44 +0000)] 
bugfix: wrong offset calculation for restart holdtimer

15 years agobugfix: correct display of bandwitdh values
hannes [Tue, 28 Mar 2006 08:05:59 +0000 (08:05 +0000)] 
bugfix: correct display of bandwitdh values

15 years agobugfix lmp header CC down definition, fix idendation
hannes [Tue, 28 Mar 2006 07:34:44 +0000 (07:34 +0000)] 
bugfix lmp header CC down definition, fix idendation

15 years agofrom Gisle Vanem:
hannes [Mon, 27 Feb 2006 07:27:16 +0000 (07:27 +0000)] 
from Gisle Vanem:
  - use local Ethernet defs on WIN32

15 years agoimprove Control Word detection heuristics for OAM cells
hannes [Fri, 24 Feb 2006 12:19:59 +0000 (12:19 +0000)] 
improve Control Word detection heuristics for OAM cells

15 years agohexdump only - if (unrecognized llc proto) && encapsulation == (jumbo || vlan)
hannes [Mon, 20 Feb 2006 18:15:03 +0000 (18:15 +0000)] 
hexdump only - if (unrecognized llc proto) && encapsulation == (jumbo || vlan)

15 years agoFrom Andrea Bittau: fetch the service code in network byte order.
guy [Sun, 19 Feb 2006 05:08:44 +0000 (05:08 +0000)] 
From Andrea Bittau: fetch the service code in network byte order.

15 years agoAdd some bounds checking to the IP options code, and clean up the
guy [Sun, 19 Feb 2006 05:01:07 +0000 (05:01 +0000)] 
Add some bounds checking to the IP options code, and clean up the
options output a bit.

15 years agoclean up the bootp printer:
hannes [Mon, 13 Feb 2006 19:02:05 +0000 (19:02 +0000)] 
clean up the bootp printer:
-print option/tag numbers and len
-change the tokenstring such that the most common options are human-readable
-add support for option 82 (Agent-ID) suboptions
-make more use ok tok2str() rather thane private lookalives

15 years agoadd support for PIMv2 checksum verification, Null Register messages and Register...
hannes [Mon, 13 Feb 2006 01:32:34 +0000 (01:32 +0000)] 
add support for PIMv2 checksum verification, Null Register messages and Register Flag resolution

15 years agouse the offical LMP port number as per rfc4204
hannes [Thu, 9 Feb 2006 23:34:07 +0000 (23:34 +0000)] 
use the offical LMP port number as per rfc4204

15 years agoadd a maxlen boundary check to safeputs, print unprintable chars as hex in safeputchar
hannes [Wed, 8 Feb 2006 01:40:09 +0000 (01:40 +0000)] 
add a maxlen boundary check to safeputs, print unprintable chars as hex in safeputchar

15 years agocourtesy rick cheng (rcheng AT juniper dot net):
hannes [Fri, 3 Feb 2006 08:42:30 +0000 (08:42 +0000)] 
courtesy rick cheng (rcheng AT juniper dot net):
improve code readability:

15 years agoadd support for FRF.16 Multilink Frame-Relay (DLT_MFR)
hannes [Fri, 3 Feb 2006 08:39:32 +0000 (08:39 +0000)] 
add support for FRF.16 Multilink Frame-Relay (DLT_MFR)

15 years agoadd support for BGP signaled VPLS
hannes [Thu, 2 Feb 2006 12:36:46 +0000 (12:36 +0000)] 
add support for BGP signaled VPLS

15 years agoshift the state field in the bfdv1 printer correct
hannes [Thu, 2 Feb 2006 06:36:37 +0000 (06:36 +0000)] 
shift the state field in the bfdv1 printer correct

15 years agoenable support for Address-Withdraw and Label-Withdraw Msgs, fix typos
hannes [Wed, 1 Feb 2006 14:57:43 +0000 (14:57 +0000)] 
enable support for Address-Withdraw and Label-Withdraw Msgs, fix typos

15 years agosquelch warning message for unknown juniper encapulations
hannes [Wed, 1 Feb 2006 14:43:07 +0000 (14:43 +0000)] 
squelch warning message for unknown juniper encapulations

15 years agoadd support for the BFD Discriminator TLV
hannes [Wed, 1 Feb 2006 14:40:39 +0000 (14:40 +0000)] 
add support for the BFD Discriminator TLV

15 years agoadd support for FRF.16 Multilink Frame-Relay (DLT_MFR)
hannes [Wed, 1 Feb 2006 14:39:56 +0000 (14:39 +0000)] 
add support for FRF.16 Multilink Frame-Relay (DLT_MFR)

15 years agoadd support for Cisco style NLPID encapsulation
hannes [Wed, 25 Jan 2006 13:27:24 +0000 (13:27 +0000)] 
add support for Cisco style NLPID encapsulation

15 years agoAdded print-dccp.c to the MSVC and Cygnus makefiles.
gianluca [Sun, 22 Jan 2006 19:12:34 +0000 (19:12 +0000)] 
Added print-dccp.c to the MSVC and Cygnus makefiles.

16 years agobugfix: add hec offset for celltype determination; make use of tok2str() for OAM...
hannes [Sun, 22 Jan 2006 10:23:57 +0000 (10:23 +0000)] 
bugfix: add hec offset for celltype determination; make use of tok2str() for OAM F type printing, unhide OAM elements like (vci,vpi) under eflag

16 years agobugfix: pre-init OUI tokentable to an empty tokentable to prevent a NULL ref and...
hannes [Tue, 17 Jan 2006 17:44:46 +0000 (17:44 +0000)] 
bugfix: pre-init OUI tokentable to an empty tokentable to prevent a NULL ref and subsequent segfault

16 years agoFrom Gisle Vanem: don't use GCC features such as the ability to declare
guy [Mon, 5 Dec 2005 21:48:10 +0000 (21:48 +0000)] 
From Gisle Vanem: don't use GCC features such as the ability to declare
variables in the middle of the block., and #if out dccp_hdr_data()
(which is unused, and defined in such a fashion that it doesn't work on
MSVC++, with the structure name and the function name the same).

16 years agoPropagate from main branch:
guy [Mon, 5 Dec 2005 21:46:37 +0000 (21:46 +0000)] 
Propagate from main branch:

date: 2005-11-04 00:45:39 +0000;  author: hannes;  state: Exp;  lines: +23 -22
from Ian Mc Donald <imcdnzl AT>:
  displaying ACKs for close packets

16 years agoAssorted edits.
guy [Mon, 5 Dec 2005 20:11:19 +0000 (20:11 +0000)] 
Assorted edits.

16 years agoadd support for further dissection of the IPCP Compression Option
hannes [Mon, 5 Dec 2005 11:40:36 +0000 (11:40 +0000)] 
add support for further dissection of the IPCP Compression Option

16 years agodisplay I/G bit
hannes [Thu, 1 Dec 2005 18:06:01 +0000 (18:06 +0000)] 
display I/G bit

16 years agobugfix: bogus SS codepoints, display ctrl field correct, added 'Poll' token for I...
hannes [Thu, 1 Dec 2005 17:48:25 +0000 (17:48 +0000)] 
bugfix: bogus SS codepoints, display ctrl field correct, added 'Poll' token for I/S frames

16 years agoadd basic support for keyed authentication TCP option
hannes [Tue, 29 Nov 2005 09:09:26 +0000 (09:09 +0000)] 
add basic support for keyed authentication TCP option

16 years agoclean up the L3 offset calculation for C-HDLC
hannes [Tue, 29 Nov 2005 08:57:10 +0000 (08:57 +0000)] 
clean up the L3 offset calculation for C-HDLC

16 years agoImprove the description of the output of tcpdump.
guy [Thu, 24 Nov 2005 08:15:50 +0000 (08:15 +0000)] 
Improve the description of the output of tcpdump.

16 years agoavoid double printing of "unknown proto" message
hannes [Thu, 24 Nov 2005 07:43:57 +0000 (07:43 +0000)] 
avoid double printing of "unknown proto" message

16 years agoMake it clearer that the hex or hex-and-ASCII dump for "-x", "-xx",
guy [Wed, 23 Nov 2005 05:16:51 +0000 (05:16 +0000)] 
Make it clearer that the hex or hex-and-ASCII dump for "-x", "-xx",
"-X", and "-XX" doesn't *replace* the dissected dump, it *augments* it.

16 years agoClarify the syntax of a network number.
guy [Wed, 23 Nov 2005 04:15:40 +0000 (04:15 +0000)] 
Clarify the syntax of a network number.

16 years agoWe've gotten our IP definitions/declarations from our own "ip.h" for a
guy [Sun, 13 Nov 2005 20:30:18 +0000 (20:30 +0000)] 
We've gotten our IP definitions/declarations from our own "ip.h" for a
while, and it defines IP_MF and IP_DF; we don't need to compensate for
system headers lacking them.

16 years agoUse sizeof to get sizes of various structure members, rather than
guy [Sun, 13 Nov 2005 20:23:09 +0000 (20:23 +0000)] 
Use sizeof to get sizes of various structure members, rather than
hardwiring the sizes (which runs the risk that the hardwired size in the
structure definition and code could get out of sync).

16 years agoFix the sense of a test.
guy [Sun, 13 Nov 2005 20:03:53 +0000 (20:03 +0000)] 
Fix the sense of a test.

16 years agoGet rid of a return value in a void function.
guy [Sun, 13 Nov 2005 19:59:39 +0000 (19:59 +0000)] 
Get rid of a return value in a void function.

16 years agoHave print_llc() clear out the extracted_ethertype argument, rather than
guy [Sun, 13 Nov 2005 12:12:58 +0000 (12:12 +0000)] 
Have print_llc() clear out the extracted_ethertype argument, rather than
having its callers do so - some of its callers *weren't* doing so,
leaving random junk in that argument in some cases.

When checking for "802.3-encapsulated" IPX, check the raw values of the
SSAP and DSAP for 0xFF, don't check them after the low-order bit has
been masked off.

The "flag" values in the LLC header aren't bits, they're combinations of
bits, including the combination "no bits"; don't use "bittok2str()" on
them.  Also, combine the proper bits, namely the C/R bit (which we
weren't combining) and the P/F bit (which we were).

16 years agoHave parse_elements() flag each item as "present (and not truncated)",
guy [Sun, 13 Nov 2005 12:07:44 +0000 (12:07 +0000)] 
Have parse_elements() flag each item as "present (and not truncated)",
"present but truncated", and "not present", and don't have it return an
indication of whether we ran past the end of a packet - instead, have
the routines that handle particular management frame types use macros
that check what the status of a particular tagged parameter is and:

print it if present and not truncated;

skip it if not present;

return a "packet truncated" indication if present but truncated.

This means we handle tagged parameters that aren't present, and print
parameters that are present and not truncated even if there's a
present-but-truncated field after them.

Add some additional bounds checks.

Make the table of rates bigger - there can be more than 8 rates in a
rates tagged parameter.

16 years agoClear out the flags field when parsing the Frame Relay header, rather
guy [Sun, 13 Nov 2005 11:53:56 +0000 (11:53 +0000)] 
Clear out the flags field when parsing the Frame Relay header, rather
than leaving random junk in the lower 16 bits.

16 years agoProperly pass the MF flag and fragment offset to the UDP, TCP, and ICMP
guy [Sun, 13 Nov 2005 11:51:52 +0000 (11:51 +0000)] 
Properly pass the MF flag and fragment offset to the UDP, TCP, and ICMP
print routines.

16 years agoGet rid of an #ifdef - to zero something out with memset, just use
guy [Sat, 12 Nov 2005 22:23:23 +0000 (22:23 +0000)] 
Get rid of an #ifdef - to zero something out with memset, just use
"sizeof something" as the size argument.

16 years agoIf you're going to stuff the result of EXTRACT_32BITS() into a variable,
guy [Thu, 10 Nov 2005 00:43:52 +0000 (00:43 +0000)] 
If you're going to stuff the result of EXTRACT_32BITS() into a variable,
making the variable 32 bits or longer might be a good idea.

16 years agoAdd -Wpointer-arith to the list of warnings we enable with GCC.
guy [Tue, 8 Nov 2005 03:00:52 +0000 (03:00 +0000)] 
Add -Wpointer-arith to the list of warnings we enable with GCC.

16 years agoThe ANSI C Committee sayeth "Thou shalt not add to a pointer to void,
guy [Tue, 8 Nov 2005 02:49:03 +0000 (02:49 +0000)] 
The ANSI C Committee sayeth "Thou shalt not add to a pointer to void,
for a void hath no size".

16 years agoresolve CHDLC proto to name, remove tok2str() lookalive
hannes [Fri, 4 Nov 2005 18:31:08 +0000 (18:31 +0000)] 
resolve CHDLC proto to name, remove tok2str() lookalive

16 years agoadd support for PPP over Frame-Relay
hannes [Fri, 4 Nov 2005 07:17:40 +0000 (07:17 +0000)] 
add support for PPP over Frame-Relay

16 years agocalculate correct length of LCP echo/echo-reply Magic-Num trailing data
hannes [Thu, 3 Nov 2005 07:31:01 +0000 (07:31 +0000)] 
calculate correct length of LCP echo/echo-reply Magic-Num trailing data

16 years agoadd cisco prop. eigrp related, extd. communities
hannes [Wed, 19 Oct 2005 09:28:13 +0000 (09:28 +0000)] 
add cisco prop. eigrp related, extd. communities

16 years agoUniformly use IEEE802_11_TSTAMP_LEN as the 802.11 timestamp length and
guy [Mon, 17 Oct 2005 07:59:17 +0000 (07:59 +0000)] 
Uniformly use IEEE802_11_TSTAMP_LEN as the 802.11 timestamp length and
IEEE802_11_AP_LEN as the length of the previous AP in reassociation

Before copying variable-length fields from a management frame IE, make
sure the length isn't too large.

16 years agoBefore subtracting a value from a prefix length, make sure the prefix
guy [Sun, 16 Oct 2005 18:17:12 +0000 (18:17 +0000)] 
Before subtracting a value from a prefix length, make sure the prefix
length is >= the value.  (In theory, if that check isn't done, the
prefix length will overflow, and, as it's unsigned, that'd make it very
large, and rejected by the other sanity check - but it's cleaner to
check explicitly.)

In decode_rt_routing_info(), fix the checks for the prefix length -
according to draft-marques-ppvpn-rt-constrain-01, the default route
target has a 0-length prefix, and all others have a length between 32
and 96.

16 years agoFrom Markus Schoepflin: don't use "struct in6_addr" if INET6 isn't
guy [Sun, 16 Oct 2005 08:18:18 +0000 (08:18 +0000)] 
From Markus Schoepflin: don't use "struct in6_addr" if INET6 isn't
defined, because, in that case, "struct in6_addr" probably isn't
defined, either.

Check for too-large bit lengths in TLVs.

16 years agoFrom Noritoshi Demizu: memcmp() returns a value = 0 if the two memory
guy [Sun, 16 Oct 2005 06:05:46 +0000 (06:05 +0000)] 
From Noritoshi Demizu: memcmp() returns a value = 0 if the two memory
regions are =, < 0 if the first memory region is < the second, or > 0 if
the first memory region is > the second, so to check whether two memory
regions are equal, check whether memcmp()'s return value is == 0.

16 years agoPropagate
uid2056 [Thu, 13 Oct 2005 09:17:39 +0000 (09:17 +0000)] 

date: 2005/10/02 22:29:54;  author: mcr;  state: Exp;  lines: +0 -0
pullup of working test results

for print-X.out and

date: 2005/10/02 22:29:55;  author: mcr;  state: Exp;  lines: +0 -0
pullup of working test results

for print-XX.out to print-capX.out and print-capXX.out, and re-remove
print-X.out and print-XX.out, so that they don't collide with
"print-x.out" and "print-xx.out" on systems with case-insensitive file
systems (not only are modern Windows file systems case-insensitive but
case-preserving, so, by default, is HFS+ on OS X, so you can even have
case-insensitivity on UN*X systems).

16 years agobugfix: don't mask the more-fragments bit for ICMP checksum suppression
hannes [Fri, 7 Oct 2005 10:49:28 +0000 (10:49 +0000)] 
bugfix: don't mask the more-fragments bit for ICMP checksum suppression

16 years ago pullup of working test results
mcr [Sun, 2 Oct 2005 22:29:51 +0000 (22:29 +0000)] 
pullup of working test results

16 years agodepreciate llcsap_string() as LLC SAP name resolution is now done via a single tokent...
hannes [Thu, 29 Sep 2005 07:46:45 +0000 (07:46 +0000)] 
depreciate llcsap_string() as LLC SAP name resolution is now done via a single tokentable in the LLC printer

16 years agorework the LLC printer:
hannes [Thu, 29 Sep 2005 07:40:12 +0000 (07:40 +0000)] 
rework the LLC printer:
  -remove tok2str() and bittok2str() lookalikes
  -print length field
  -print more self-describing tokensstring
    e.g. "Receiver not ready" instead of "rnr"
  -add codepoint for SNA

16 years agoDon't set the length of the attributes based on the snapshot length,
guy [Mon, 26 Sep 2005 01:02:40 +0000 (01:02 +0000)] 
Don't set the length of the attributes based on the snapshot length,
just add some additional TCHECK/TCHECK2 bounds checks to the code that
dissects attributes and let that handle the snapshot length checks.

Do the length check once per attribute, rather than doing a single check
up front.

Use TCHECK/TCHECK2 and TTEST/TTEST2, so that we print "too short"
indications.  Make the "too short" indications all look the same.

Rename "radius_attr_print()" to "radius_attrs_print()" to make it
clearer that it has a loop to print all attributes, rather than just
printing one attribute.

Add in a bunch of additional bounary/length checks, and do the

As per Steiner Haug, the length of a vendor-specific attribute includes
the type and length bytes, so subtract two from the length to get the
length of the attribute's data.

16 years agoupdate the diffserv-te error-spec codepoints (and retain the old ones)
hannes [Thu, 22 Sep 2005 14:52:40 +0000 (14:52 +0000)] 
update the diffserv-te error-spec codepoints (and retain the old ones)

16 years agoFrom David Smith: let the path for the crypto headers and libraries be
guy [Wed, 21 Sep 2005 16:50:01 +0000 (16:50 +0000)] 
From David Smith: let the path for the crypto headers and libraries be
set explicitly by setting Xprefix as an environment variable, for use
when cross-compiling.

16 years agoretain the old diffserv-te codepoints for a transition period
hannes [Tue, 20 Sep 2005 10:15:21 +0000 (10:15 +0000)] 
retain the old diffserv-te codepoints for a transition period

16 years agoAlso give Yoshifumi Nishida credit for the DCCP printer.
guy [Tue, 20 Sep 2005 07:03:08 +0000 (07:03 +0000)] 
Also give Yoshifumi Nishida credit for the DCCP printer.

16 years agoAdd RCS IDs.
guy [Tue, 20 Sep 2005 06:25:45 +0000 (06:25 +0000)] 
Add RCS IDs.

16 years agoFrom Ian McDonald and Arnaldo Carvalho de Melo: DCCP support.
guy [Tue, 20 Sep 2005 06:05:34 +0000 (06:05 +0000)] 
From Ian McDonald and Arnaldo Carvalho de Melo: DCCP support.

16 years agoList another of Hannes' changes.
guy [Tue, 6 Sep 2005 21:22:11 +0000 (21:22 +0000)] 
List another of Hannes' changes.

16 years agoUpdate to include Hannes' IS-IS changes.
guy [Tue, 6 Sep 2005 21:17:11 +0000 (21:17 +0000)] 
Update to include Hannes' IS-IS changes.

16 years agoBut the PDU length checks back, so "tmp" doesn't go negative.
guy [Mon, 5 Sep 2005 18:21:22 +0000 (18:21 +0000)] 
But the PDU length checks back, so "tmp" doesn't go negative.

At least as I read RFC 3847, you won't get a system ID without the
remaining hold time field; after printing the flags field, check whether
there's anything else after the flag field and, if not, quit, otherwise
print the remaining hold time field and, if present, the system ID field.

16 years agorework the restart signaling TLV printer:
hannes [Mon, 5 Sep 2005 11:16:25 +0000 (11:16 +0000)] 
rework the restart signaling TLV printer:
  -accept TLV length of 1 as this is now perfectly valid as per rfc 3847
  -only attempt to print a trailing system-ID and not a node-ID

16 years agoFrom Michael Shields <> via Roman Francoise: spelling
guy [Mon, 5 Sep 2005 09:29:27 +0000 (09:29 +0000)] 
From Michael Shields <> via Roman Francoise: spelling

16 years agoMention documentation for "pppoed" and "pppoes" filter expressions.
guy [Mon, 5 Sep 2005 09:19:32 +0000 (09:19 +0000)] 
Mention documentation for "pppoed" and "pppoes" filter expressions.

16 years agoDocument the new "pppoed" and "pppoes" filter expressions.
guy [Mon, 5 Sep 2005 09:14:37 +0000 (09:14 +0000)] 
Document the new "pppoed" and "pppoes" filter expressions.

16 years agoClean up documentation of "vlan" filter expression, and document "mpls"
guy [Mon, 5 Sep 2005 08:57:11 +0000 (08:57 +0000)] 
Clean up documentation of "vlan" filter expression, and document "mpls"
filter expression.

16 years agoupdate diffserv-TE codepoints as per rfc4124, code cosmetics: add a few TLV_MINLEN...
hannes [Tue, 23 Aug 2005 11:16:28 +0000 (11:16 +0000)] 
update diffserv-TE codepoints as per rfc4124, code cosmetics: add a few TLV_MINLEN #defines

16 years agoadd support for DLT_JUNIPER{PPP,ETHER,FRELAY,CHDLC} printers
hannes [Tue, 23 Aug 2005 10:29:41 +0000 (10:29 +0000)] 
add support for DLT_JUNIPER{PPP,ETHER,FRELAY,CHDLC} printers

16 years agoAdd some more fixes to the list of changes.
guy [Tue, 23 Aug 2005 03:40:34 +0000 (03:40 +0000)] 
Add some more fixes to the list of changes.

Remove trailing white space.

16 years agoClean up white space, to match main branch.
guy [Tue, 23 Aug 2005 03:18:46 +0000 (03:18 +0000)] 
Clean up white space, to match main branch.

16 years agoFix a test (as per a compiler warning).
guy [Tue, 23 Aug 2005 03:15:51 +0000 (03:15 +0000)] 
Fix a test (as per a compiler warning).