diff options
author | Thomas Habets <thomas@habets.pp.se> | 2002-08-30 22:58:23 +0000 |
---|---|---|
committer | Thomas Habets <thomas@habets.pp.se> | 2002-08-30 22:58:23 +0000 |
commit | 3eea367f4819191a601b28470b7302731053cf18 (patch) | |
tree | a3014c6a4e27b88a07b8b114ef01bb682dc55b3f | |
parent | a01de4b6fa303436d94641f8a2de6806dcbfc1dd (diff) | |
download | arping-3eea367f4819191a601b28470b7302731053cf18.tar.gz |
.
-rw-r--r-- | arping2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |