https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13448

Jörg Mayer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #2 from Jörg Mayer <[email protected]> ---
After changing
diff --git a/dumpcap.c b/dumpcap.c
-/**#define DEBUG_DUMPCAP**/
-/**#define DEBUG_CHILD_DUMPCAP**/
+#define DEBUG_DUMPCAP
+#define DEBUG_CHILD_DUMPCAP
I found that
CaptureChild Dbg  Capture source[00]  : Local interface
Searching further I found that I should have used:
dumpcap -i rpcap://[10.122.4.11]:2002/wifi0
(Specifying the :<portno> seems to be mandatory.)

Interestingly enough, changing that didn't change the Capture source thing:

21:16:22 CaptureChild Info Capture loop starting ...
21:16:22 CaptureChild Dbg  CAPTURE OPTIONS     :
21:16:22 CaptureChild Dbg  Interface name[00]  :
rpcap://[10.122.4.11]:2002/wifi0
21:16:22 CaptureChild Dbg  Interface description[00] : (unspecified)
21:16:22 CaptureChild Dbg  Console display name[00]:
rpcap://[10.122.4.11]:2002/wifi0
21:16:22 CaptureChild Dbg  Capture filter[00]  : (unspecified)
21:16:22 CaptureChild Dbg  Snap length[00] (0) : 262144
21:16:22 CaptureChild Dbg  Link Type[00]       : -1
21:16:22 CaptureChild Dbg  Promiscuous Mode[00]: TRUE
21:16:22 CaptureChild Dbg  Extcap[00]          : (unspecified)
21:16:22 CaptureChild Dbg  Extcap FIFO[00]     : (unspecified)
21:16:22 CaptureChild Dbg  Extcap PID[00]      : -1
21:16:22 CaptureChild Dbg  Buffer size[00]     : 2 (MB)
21:16:22 CaptureChild Dbg  Monitor Mode[00]    : FALSE
21:16:22 CaptureChild Dbg  Capture source[00]  : Local interface
21:16:22 CaptureChild Dbg  Authentication[00]  : Null
21:16:22 CaptureChild Dbg  UDP data tfer[00]   : 0
21:16:22 CaptureChild Dbg  No cap. RPCAP[00]   : 1
21:16:22 CaptureChild Dbg  No cap. local[00]   : 0
21:16:22 CaptureChild Dbg  Sampling meth.[00]  : 0
21:16:22 CaptureChild Dbg  Sampling param.[00] : 0
... Stuff omitted ...
21:16:22 CaptureChild Dbg  capture_loop_open_input :
rpcap://[10.122.4.11]:2002/wifi0
21:16:22 CaptureChild Dbg  Entering open_capture_device().
21:16:22 CaptureChild Dbg  Calling pcap_open() using name
rpcap://[10.122.4.11]:2002/wifi0, snaplen 262144, promisc_mode 1, datatx_udp 0,
nocap_rpcap 1.
21:16:28 CaptureChild Dbg  pcap_open() returned 0x61800000f080.
21:16:28 CaptureChild Dbg  open_capture_device SUCCESS :
rpcap://[10.122.4.11]:2002/wifi0
21:16:28 CaptureChild Dbg  capture_loop_init_filter: 
dumpcap: Invalid capture filter "(null)" for interface
'rpcap://[10.122.4.11]:2002/wifi0'.

That string isn't a valid capture filter (not-yet-activated pcap_t passed to
pcap_compile).
See the User's Guide for a description of the capture filter syntax.
21:16:28 CaptureChild Dbg  capture_loop_close_input
21:16:28 CaptureChild Dbg  capture_loop_close_input: closing 0x61800000f080
21:16:28 CaptureChild Info Capture loop stopped with error

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:[email protected]?subject=unsubscribe

Reply via email to