summaryrefslogtreecommitdiff
path: root/net/hping/patches/patch-ah
blob: 5028e799c3fcfed73cc3a71dcf3f2e9f6065a619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-ah,v 1.1 2006/03/30 13:51:29 salo Exp $

--- ip_opt_build.c.orig	2002-01-19 19:57:47.000000000 +0100
+++ ip_opt_build.c	2005-11-05 21:39:25.000000000 +0100
@@ -34,7 +34,8 @@
         }
         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 @@
         }
         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 @@
         }
         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;
         }
 	}