summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2000-09-18 19:12:17 +0000
committerThomas Habets <thomas@habets.pp.se>2000-09-18 19:12:17 +0000
commit9b69d920a6a3e1083f9e197e35eb4e17167d5330 (patch)
treee7c928d158f8c284d70d03c034be9f9046af1364
parent930d1bdfd617a063586a25436e04ac9b57b45212 (diff)
downloadarping-9b69d920a6a3e1083f9e197e35eb4e17167d5330.tar.gz
solaris fix
-rw-r--r--arping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arping.c b/arping.c
index f7100a3..7f09efc 100644
--- a/arping.c
+++ b/arping.c
@@ -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);
}