]> The Tcpdump Group git mirrors - tcpdump/commit
fix RIP Request/full table decoding issues
authorDenis Ovsienko <[email protected]>
Mon, 11 Jun 2012 17:01:34 +0000 (21:01 +0400)
committerDenis Ovsienko <[email protected]>
Tue, 12 Jun 2012 09:59:06 +0000 (13:59 +0400)
commitc4830eb85e0eb243eb37212b254433a65333c342
tree30dff32fed62858bcd0678bbf18f1238e7d4435f
parent633514551c01eb339067fbc0aea1e6bc4ce0c53a
fix RIP Request/full table decoding issues

RIP Request and Response messages have the same structure. Update a
switch block in rip_print() to proceed with decoding of both.

A Request message may contain an AFI 0 RTE standing for a full table
request, normally sent on a router start. Update rip_entry_print_v1()
and rip_entry_print_v2() to treat IPv4 and AFI 0 as two valid,
distinguishable cases.
print-rip.c
tests/TESTLIST
tests/ripv1v2.out [new file with mode: 0644]
tests/ripv1v2.pcap [new file with mode: 0644]