patch-programs_eroute_eroute_c 513 B

1234567891011
  1. --- openswan-2.6.24.orig/programs/eroute/eroute.c 2010-01-10 02:34:38.000000000 +0100
  2. +++ openswan-2.6.24/programs/eroute/eroute.c 2010-01-20 08:43:00.000000000 +0100
  3. @@ -268,7 +268,7 @@ main(int argc, char **argv)
  4. exit (1);
  5. }
  6. if(ntohl(said.spi) < 0x100) {
  7. - fprintf(stderr, "%s: Illegal reserved spi: %s => 0x%x Must be larger than 0x100.\n",
  8. + fprintf(stderr, "%s: Illegal reserved spi: %s => 0x%lx Must be larger than 0x100.\n",
  9. progname, optarg, ntohl(said.spi));
  10. exit(1);
  11. }