2013-09-26 17:14:40 +02:00

35 lines
1.1 KiB
Plaintext

$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;
}
}