aboutsummaryrefslogtreecommitdiff
path: root/pcap-rpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-31 21:00:18 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-31 21:00:18 -0700
commit54d7efdd867cd5a54c85d8d6be7ddb8e40d664c3 (patch)
tree76bbfb7eee665627f0112290612af1fb83066116 /pcap-rpcap.c
parentd52c0155cc8e673fc37ed770ec967ba9a7fc0e15 (diff)
Get rid of sock_recv() call that should have been removed in a previous change.
Diffstat (limited to 'pcap-rpcap.c')
-rw-r--r--pcap-rpcap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pcap-rpcap.c b/pcap-rpcap.c
index d700e7ab..93e23970 100644
--- a/pcap-rpcap.c
+++ b/pcap-rpcap.c
@@ -2258,9 +2258,6 @@ pcap_findalldevs_ex_remote(char *source, struct pcap_rmtauth *auth, pcap_if_t **
if (sock_send(sockctrl, (char *)&header, sizeof(struct rpcap_header), errbuf, PCAP_ERRBUF_SIZE) == -1)
goto error_nodiscard;
- if (sock_recv(sockctrl, (char *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, errbuf, PCAP_ERRBUF_SIZE) == -1)
- goto error_nodiscard;
-
/* Receive and process the reply message header. */
if (rpcap_process_msg_header(sockctrl, protocol_version,
RPCAP_MSG_FINDALLIF_REQ, &header, errbuf) == -1)