summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-programs_eroute_eroute_c
diff options
context:
space:
mode:
authorwaldemar brodkorb <wbx@debian-lenny-amd64.foo.bar>2010-01-20 21:31:08 +0100
committerwaldemar brodkorb <wbx@debian-lenny-amd64.foo.bar>2010-01-20 21:31:08 +0100
commit68bb17312be33ae09255737dde26a93663cfc2ba (patch)
tree71b0c26cf47124fe20e95d5eebeef5c300f28c66 /package/openswan/patches/patch-programs_eroute_eroute_c
parenta154a4cae1b78e68f4421142e7f2e77c85db4754 (diff)
fix allmodconfig for foxboard
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);
+ }