aboutsummaryrefslogtreecommitdiff
path: root/pcap-rpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-rpcap.c')
-rw-r--r--pcap-rpcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-rpcap.c b/pcap-rpcap.c
index 84d3af5c..d0b4d99b 100644
--- a/pcap-rpcap.c
+++ b/pcap-rpcap.c
@@ -1976,7 +1976,7 @@ static int rpcap_sendauth(SOCKET sock, uint8 *ver, struct pcap_rmtauth *auth, ch
*
* Do we also support it?
*/
- if (RPCAP_VERSION_IS_SUPPORTED(header.ver))
+ if (!RPCAP_VERSION_IS_SUPPORTED(header.ver))
{
/*
* No, so there's no version we both support.