Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-udp.c packet-rip.c packet-rip.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 14 Apr 2000 01:17:33 -0500 (CDT)
guy         2000/04/14 01:17:29 CDT

  Modified files:
    .                    packet-udp.c packet-rip.c packet-rip.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.63      +2 -6      ethereal/packet-udp.c
  1.14      +10 -2     ethereal/packet-rip.c
  1.5       +1 -3      ethereal/packet-rip.h