commit | 77ac17c44f1a276b0d1149042a2a691a30f04ccd | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Mon Mar 13 20:14:57 2017 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Mon Mar 13 20:14:57 2017 -0700 |
tree | 7cbcb8f3410ae7040ee215268b67a2724a094e9a | |
parent | 92e4d638fb3432d93ca4d5871300332879a829ce [diff] |
Fix remote opening and remote open error string return. Pass the interface name, not the full URL, to pcap_create(). If pcap_open_rpcap() fails, copy the error message from the pcap_t to errbuf, as we'll be closing and freeing the pcap_t.