Wireshark-commits: [Wireshark-commits] rev 32849: /trunk/ /trunk/: dumpcap.c

Date: Mon, 17 May 2010 23:13:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32849

User: guy
Date: 2010/05/17 04:13 PM

Log:
 If dumpcap is run with -D, don't select a default interface; it's not
 necessary.
 
 If it's run with -D and -M, and we found no interfaces, don't treat that
 as an error; let the code that reads our output just indicate it as "no
 interfaces available", so *its* caller can decide whether to report an
 error or not (in some cases in Wireshark, it's obvious that there are no
 interfaces, e.g. there aren't any listed on the welcome screen, so
 popping up a dialog is pointless).

Directory: /trunk/
  Changes    Path          Action
  +30 -12    dumpcap.c     Modified