Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal pcap-util.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2003 03:01:42 -0500 (CDT)
guy         2003/06/10 03:01:42 CDT

  Modified files:
    .                    pcap-util.c 
  Log:
  Handle the case of an empty interface list on Windows the same way we
  handle it on UNIX.  Check for an empty interface name (which indicates
  the end of the interface list) at the beginning of the loop, so that if
  the first interface name is empty (meaning an empty interface list) we
  don't put a bogus entry into the list with just a colon.
  
  Revision  Changes    Path
  1.12      +14 -11    ethereal/pcap-util.c