Преглед на файлове

shorten the packet to match ping/ping6 default

Jindrich Makovicka преди 16 години
родител
ревизия
33cac7eddf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      pinger.c

+ 1 - 1
pinger.c

@@ -59,7 +59,7 @@ ____________________________________________________________________________*/
 int icmp_socket, icmp6_socket;
 static int ident;               /* process id to identify our packets */
 static long ntransmitted = 0;   /* sequence # for outbound packets = #sent */
-static u_char outpack[64];
+static u_char outpack[56];
 static u_char packet[1024];
 
 int hostcnt = 0;