diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-14 06:17:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-14 06:17:23 +0000 |
commit | d419701eeac64d5e4b5db89ac89c28afa2f72425 (patch) | |
tree | 2d6eddc27269201f13319831dac5d8967be15780 /packet-rip.h | |
parent | 61167a3c28f1413cfe0f3a3fb0f9454815a02b16 (diff) |
RFC 1058, on RIP V1, says:
Specific queries and debugging requests may be sent from ports
other than 520, but they are directed to port 520 on the target
machine.
and RFC 2453, on RIP V2, says:
Specific queries may be sent from ports other than the RIP port,
but they must be directed to the RIP port on the target machine.
so there is no requirement that RIP packets have 520 as both source and
destination port numbers. It's therefore OK to register it as the
dissector for UDP port 520 - no need to handle it specially in the UDP
dissector as a reminder to make it check both source and destination
ports - so we do so.
svn path=/trunk/; revision=1855
Diffstat (limited to 'packet-rip.h')
-rw-r--r-- | packet-rip.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-rip.h b/packet-rip.h index 67ea57dcc9..7823b1c9f6 100644 --- a/packet-rip.h +++ b/packet-rip.h @@ -1,6 +1,6 @@ /* packet-rip.h (c) 1998 Hannes Boehm */ -/* $Id: packet-rip.h,v 1.4 2000/02/15 21:02:59 gram Exp $ */ +/* $Id: packet-rip.h,v 1.5 2000/04/14 06:17:23 guy Exp $ */ #define RIPv1 1 #define RIPv2 2 @@ -33,5 +33,3 @@ typedef union _e_rip_entry { e_rip_vektor vektor; e_rip_authentication authentication; } e_rip_entry; - -void dissect_rip(const u_char *, int, frame_data *, proto_tree *); |