summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2002-08-30 22:58:23 +0000
committerThomas Habets <thomas@habets.pp.se>2002-08-30 22:58:23 +0000
commit3eea367f4819191a601b28470b7302731053cf18 (patch)
treea3014c6a4e27b88a07b8b114ef01bb682dc55b3f
parenta01de4b6fa303436d94641f8a2de6806dcbfc1dd (diff)
downloadarping-3eea367f4819191a601b28470b7302731053cf18.tar.gz
.
-rw-r--r--arping2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arping2.c b/arping2.c
index 191103b..32969c1 100644
--- a/arping2.c
+++ b/arping2.c
@@ -12,7 +12,7 @@
*
* Also finds out IP of specified MAC
*
- * $Id: arping2.c 709 2002-08-30 22:40:41Z marvin $
+ * $Id: arping2.c 710 2002-08-30 22:58:23Z marvin $
*/
/*
* Copyright (C) 2000-2002 Thomas Habets <thomas@habets.pp.se>
@@ -782,7 +782,7 @@ int main(int argc, char **argv)
fprintf(stderr, "arping: pcap_open_live(): %s\n",ebuf);
exit(1);
}
-#ifndef HAVE_NET_BPF_H
+#ifdef HAVE_NET_BPF_H
{
u_int32_t on = 1;
if (0 < (ioctl(pcap_fileno(pcap), BIOCIMMEDIATE,