1
0

patch-src_racoon_isakmp_c 563 B

123456789101112131415161718192021
  1. --- ipsec-tools-0.8.0.orig/src/racoon/isakmp.c 2011-03-15 14:20:14.000000000 +0100
  2. +++ ipsec-tools-0.8.0/src/racoon/isakmp.c 2011-08-24 18:48:47.887978959 +0200
  3. @@ -33,6 +33,10 @@
  4. #include "config.h"
  5. +#ifndef __packed
  6. +#define __packed __attribute__((packed))
  7. +#endif
  8. +
  9. #include <sys/types.h>
  10. #include <sys/param.h>
  11. #include <sys/socket.h>
  12. @@ -130,6 +134,7 @@
  13. # define SOL_UDP IPPROTO_UDP
  14. # endif /* __NetBSD__ / __FreeBSD__ */
  15. +
  16. static int nostate1 __P((struct ph1handle *, vchar_t *));
  17. static int nostate2 __P((struct ph2handle *, vchar_t *));