diff options
author | Thomas Habets <thomas@habets.pp.se> | 2000-09-18 19:12:17 +0000 |
---|---|---|
committer | Thomas Habets <thomas@habets.pp.se> | 2000-09-18 19:12:17 +0000 |
commit | 9b69d920a6a3e1083f9e197e35eb4e17167d5330 (patch) | |
tree | e7c928d158f8c284d70d03c034be9f9046af1364 | |
parent | 930d1bdfd617a063586a25436e04ac9b57b45212 (diff) | |
download | arping-9b69d920a6a3e1083f9e197e35eb4e17167d5330.tar.gz |
solaris fix
-rw-r--r-- | arping.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ * * Also finds out IP of specified MAC * - * $Id: arping.c 138 2000-09-15 17:22:30Z marvin $ + * $Id: arping.c 139 2000-09-18 19:12:17Z marvin $ */ /* * Copyright (C) 2000 Marvin (marvin@nss.nu) @@ -361,7 +361,7 @@ int main(int argc, char **argv) if (searchmac) { if (-1 == libnet_init_packet(LIBNET_ETH_H + LIBNET_IP_H - + LIBNET_ICMP_H, &packet)) { + + LIBNET_ICMP_ECHO_H, &packet)) { fprintf(stderr, "libnet_init_packet(): error\n"); exit(1); } |