[packages] openswan: fix typo in last commit, refresh patches
[packages.git] / net / openswan / patches / 130-compat_net_dev_ops.patch
1 ---
2  linux/include/openswan/ipsec_kversion.h |    6 ++++++
3  1 file changed, 6 insertions(+)
4
5 --- a/linux/include/openswan/ipsec_kversion.h
6 +++ b/linux/include/openswan/ipsec_kversion.h
7 @@ -366,6 +366,12 @@
8  #endif
9  #endif
10  
11 +#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
12 +# ifndef CONFIG_COMPAT_NET_DEV_OPS
13 +#  define USE_NETDEV_OPS
14 +# endif
15 +#endif
16 +
17  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
18  # define USE_NETDEV_OPS
19  #else