pkgsrc/net/hping/patches/patch-ah
obache dca4ca3df8 * detection of endian in bytesex.h is not enough, use result of byteorder.h.
* replace hard coded user and mode for hping-suid option with SPECIAL_PERMS.
* replace remaining of hard coded "man" with ${PKGMANDIR}.
* add DESTDIR support.
* merge patch-a{e,g}, both for same file.
* patch to replace __sun__ with __sun for portability, pkglint(1) said.
* also regen other patches with mkpatches(1).
2009-02-11 08:06:17 +00:00

34 lines
1.1 KiB
Text

$NetBSD: patch-ah,v 1.2 2009/02/11 08:06:17 obache Exp $
--- ip_opt_build.c.orig 2002-01-19 18:57:47.000000000 +0000
+++ ip_opt_build.c
@@ -34,7 +34,8 @@ unsigned char ip_opt_build(char* ip_opt)
}
else
{
- printf("Warning: loose source route is too long, discarding it");
+ fprintf(stderr, "Warning: loose source route is too "
+ "long, discarding it.\n");
opt_lsrr=0;
}
}
@@ -48,7 +49,8 @@ unsigned char ip_opt_build(char* ip_opt)
}
else
{
- printf("Warning: strict source route is too long, discarding it");
+ fprintf(stderr, "Warning: strict source route is too "
+ "long, discarding it.\n");
opt_ssrr=0;
}
}
@@ -66,7 +68,8 @@ unsigned char ip_opt_build(char* ip_opt)
}
else
{
- printf("Warning: no room for record route, discarding option\n");
+ fprintf(stderr, "Warning: no room for record route, "
+ "discarding option.\n");
opt_rroute=0;
}
}