Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-wsp.c packet-wtls.c packet-wtp.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jul 2001 04:53:24 -0500 (CDT)
guy         2001/07/03 04:53:23 CDT

  Modified files:
    .                    packet-wsp.c packet-wtls.c packet-wtp.c 
  Log:
  Don't base the protocol column setting in the WSP and WTP dissectors on
  the port - instead, base it on whether the dissector was called directly
  from UDP or called from another WAP dissector.
  
  That way, if you explicitly say "decode this as WTP" because there was a
  redirection (or if, in the future, the WSP dissector handles
  redirections for you, although that won't handle the case of a capture
  where the redirection wasn't captured), the column doesn't say "UDP", it
  says the right thing.
  
  Don't register the WTLS dissector by name - nobody calls it through a
  handle.
  
  Register the WTP dissector by name, as the WTLS dissector tries to get a
  handle for it - although it doesn't actually call it, or the WSP
  dissector, through a handle.
  
  Revision  Changes    Path
  1.23      +28 -18    ethereal/packet-wsp.c
  1.10      +1 -3      ethereal/packet-wtls.c
  1.15      +38 -21    ethereal/packet-wtp.c