1 Index: openswan-2.4.8/linux/net/ipsec/sysctl_net_ipsec.c
2 ===================================================================
3 --- openswan-2.4.8.orig/linux/net/ipsec/sysctl_net_ipsec.c 2007-06-04 13:22:49.815282208 +0200
4 +++ openswan-2.4.8/linux/net/ipsec/sysctl_net_ipsec.c 2007-06-04 13:22:51.852972432 +0200
7 int ipsec_sysctl_register(void)
9 - ipsec_table_header = register_sysctl_table(ipsec_root_table, 0);
10 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,20)
11 + ipsec_table_header = register_sysctl_table(ipsec_root_table);
13 + ipsec_table_header = register_sysctl_table(ipsec_root_table, 0);
15 if (!ipsec_table_header) {