]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Lose message on short icmp_echoreplies
authorTed Lemon <source@isc.org>
Wed, 4 Jun 1997 20:59:40 +0000 (20:59 +0000)
committerTed Lemon <source@isc.org>
Wed, 4 Jun 1997 20:59:40 +0000 (20:59 +0000)
common/icmp.c

index 92332fbc05e173ca7b2388dcf2c3bbc4b11c2dbe..59082842652fecd05968ee5443e1ed7221262dea 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: icmp.c,v 1.6 1997/06/03 02:12:20 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: icmp.c,v 1.7 1997/06/04 20:59:40 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -149,8 +149,9 @@ void icmp_echoreply (protocol)
                warn ("icmp_echoreply: %m");
                return;
        }
+
+       /* Probably not for us. */
        if (status < (sizeof (struct ip)) + (sizeof *icfrom)) {
-               warn ("icmp_echoreply: short packet");
                return;
        }