diff options
author | Thomas Habets <thomas@habets.pp.se> | 2010-04-01 18:48:36 +0200 |
---|---|---|
committer | Thomas Habets <thomas@habets.pp.se> | 2010-04-01 18:48:36 +0200 |
commit | df36995363d6b92d635d353a55ba4b51ce004b5a (patch) | |
tree | 174f120c4d0a0942b37328e09e25c02dffc99412 /src | |
parent | d4810ddc781235a51d2ef08315d69bca236ef1cf (diff) | |
parent | bbcfde4425c9d9b0f3fbfc9c4e7fa0a5a0225c97 (diff) | |
download | arping-df36995363d6b92d635d353a55ba4b51ce004b5a.tar.gz |
Merge fixarping-2.09
Diffstat (limited to 'src')
-rw-r--r-- | src/arping.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arping.c b/src/arping.c index 2fff271..7b5e43e 100644 --- a/src/arping.c +++ b/src/arping.c @@ -111,7 +111,7 @@ static libnet_t *libnet = 0; static struct timeval lastpacketsent; -uint32_t srcip,dstip; +uint32_t srcip, dstip; static int beep = 0; static int reverse_beep = 0; @@ -125,7 +125,7 @@ static unsigned int numrecvd = 0; static unsigned int numdots = 0; static int addr_must_be_same = 0; /* RAWRAW is RAW|RRAW */ -static enum { NORMAL,QUIET,RAW,RRAW,RAWRAW,DOT } display = NORMAL; +static enum { NORMAL, QUIET, RAW, RRAW, RAWRAW, DOT } display = NORMAL; static char *target = "huh? bug in arping?"; static uint8_t ethnull[ETH_ALEN]; static uint8_t ethxmas[ETH_ALEN]; @@ -133,6 +133,7 @@ static char srcmac[ETH_ALEN]; static char dstmac[ETH_ALEN]; static char lastreplymac[ETH_ALEN]; +/* doesn't need to be volatile */ volatile int time_to_die = 0; /** |