Wireshark-commits: [Wireshark-commits] rev 18989: /trunk/ /trunk/: capture_loop.c capture_opts.c ts

Date: Mon, 21 Aug 2006 23:28:20 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=18989

User: guy
Date: 2006/08/21 11:28 PM

Log:
 Initialize the cfilter field of a capture_opts structure to a null
 pointer, so we can determine whether a capture filter has been set or
 not.
 
 Use that to check in TShark whether the user specified a filter with
 "-f" or not, rather than using the no-longer-set
 "capture_filter_specified" variable.
 
 Also, check for multiple "-f" options.
 
 If no capture filter is specified, use a null string, to work around
 broken versions of Linux libpcap.

Directory: /trunk/
  Changes    Path              Action
  +8 -0      capture_loop.c    Modified
  +5 -3      capture_opts.c    Modified
  +11 -4     tshark.c          Modified