summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-programs_eroute_eroute_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/patches/patch-programs_eroute_eroute_c')
-rw-r--r--package/openswan/patches/patch-programs_eroute_eroute_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openswan/patches/patch-programs_eroute_eroute_c b/package/openswan/patches/patch-programs_eroute_eroute_c
new file mode 100644
index 000000000..f2d2c52b2
--- /dev/null
+++ b/package/openswan/patches/patch-programs_eroute_eroute_c
@@ -0,0 +1,11 @@
+--- openswan-2.6.24.orig/programs/eroute/eroute.c 2010-01-10 02:34:38.000000000 +0100
++++ openswan-2.6.24/programs/eroute/eroute.c 2010-01-20 08:43:00.000000000 +0100
+@@ -268,7 +268,7 @@ main(int argc, char **argv)
+ exit (1);
+ }
+ if(ntohl(said.spi) < 0x100) {
+- fprintf(stderr, "%s: Illegal reserved spi: %s => 0x%x Must be larger than 0x100.\n",
++ fprintf(stderr, "%s: Illegal reserved spi: %s => 0x%lx Must be larger than 0x100.\n",
+ progname, optarg, ntohl(said.spi));
+ exit(1);
+ }