updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / quagga-lisg / patch-ipforward_sysctl.c.patch
blob2aa395bb0131b76e6209bfe59eba2f76728d6e7c
1 --- quagga-0.99.11/zebra/ipforward_sysctl.c 2009-05-04 00:00:21.000000000 +0200
2 +++ quagga-0.99.11/zebra/ipforward_sysctl.c 2009-05-04 00:28:53.000000000 +0200
3 @@ -30,6 +30,15 @@
5 #define MIB_SIZ 4
7 +/* Fix for recent (2.6.14) kernel headers */
8 +#ifndef IPCTL_FORWARDING
9 +#define IPCTL_FORWARDING NET_IPV4_FORWARD
10 +#endif
12 +#ifndef IP6CTL_FORWARDING
13 +#define IP6CTL_FORWARDING NET_IPV6_FORWARDING
14 +#endif
16 extern struct zebra_privs_t zserv_privs;
18 /* IPv4 forwarding control MIB. */