pkgsrc/security/rid/patches/patch-ab

22 lines
466 B
Text
Raw Normal View History

2005-12-08 18:36:56 +01:00
$NetBSD: patch-ab,v 1.2 2005/12/08 17:41:16 joerg Exp $
2005-12-08 18:36:56 +01:00
--- pinger.c.orig 2000-02-25 04:33:24.000000000 +0000
+++ pinger.c
2005-12-08 18:36:56 +01:00
@@ -23,7 +23,6 @@ extern fd_set RawFD;
extern u_long NumToPing;
extern u_long TO;
extern pid_t PidSender;
-extern int errno;
/*
@@ -141,7 +140,7 @@ void process_alive(int num_hosts)
}
/* Standard checksum routine */
-inline unsigned short
+unsigned short
ip_cksum(u_short *addr, int len)
{
register int nleft = len;