Ethereal-dev: Re: [ethereal-dev] prelim support for NTP

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

From: Nathan Neulinger <nneul@xxxxxxx>
Date: Thu, 14 Oct 1999 08:07:56 -0500
> > Index: packet-tcp.c
> > ===================================================================
> > RCS file: /cvsroot/ethereal/packet-tcp.c,v
> > retrieving revision 1.35
> > diff -u -r1.35 packet-tcp.c
> > --- packet-tcp.c      1999/10/14 01:28:26     1.35
> > +++ packet-tcp.c      1999/10/14 04:25:17
> > @@ -76,6 +76,7 @@
> >  #define TCP_PORT_HTTP     80
> >  #define TCP_PORT_POP      110
> >  #define TCP_PORT_NNTP     119
> > +#define TCP_PORT_NTP      123
> >  #define TCP_PORT_NBSS     139
> >  #define TCP_PORT_PRINTER  515
> >  #define TCP_ALT_PORT_HTTP 8080
> > @@ -485,8 +486,10 @@
> >        pi.match_port = TCP_PORT_POP;
> >        dissect_pop(pd, offset, fd, tree);
> >      } else if (PORT_IS(TCP_PORT_NNTP)) {
> > -      pi.match_port = TCP_PORT_NNTP;
> 
> Nope, the NNTP dissector uses that to decide whether something's an NNTP
> request or response.

Oops! That should have been the one for NTP... Got mismatched with the
NTP NNTP checks. 

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216