diff options
author | cmchao <cmchao@gmail.com> | 2010-06-16 19:47:14 +0800 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-06-24 13:51:09 +0200 |
commit | 2a10e22d1eb49f76483251f1ecace78cf069cd64 (patch) | |
tree | 07d14b8ba2206741cb8bc8c2815f3a28ce5b09f8 /package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch | |
parent | 58b653ee24e6e1221e21c145cbda0fdf507a07ae (diff) |
quagga : convert to autotools infrastructure & bump to 0.99.12
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Installation to target is the default
* No installation to staging is the default
* The QUAGGA_HEADERS option does not exist
* BOA_INSTALL_TARGETS_CMDS wouldn't work in the Quagga package, and
was anyway doing the default action
* The QUAGGA_BINARY/QUAGGA_TARGET_BINARY variables were not used
* Bump to 0.99.16, which fixes a problem when IPv6 is not enabled
Signed-off-by: cmchao <cmchao@gmail.com>
merge quagga
Diffstat (limited to 'package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch')
-rw-r--r-- | package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch b/package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch new file mode 100644 index 000000000..e2e3421ed --- /dev/null +++ b/package/quagga/quagga-0.99.16-fix-ipctl-forwarding.patch @@ -0,0 +1,27 @@ +Add definitions for IPCTL_FORWARDING and IP6CTL_FORWARDING. + +Inspired from +http://svn.gnumonks.org/trunk/grouter/build/src/quagga/quagga/quagga-0.99.1-forward_sysctl-2.6.14.patch + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: quagga-0.99.16/zebra/ipforward_sysctl.c +=================================================================== +--- quagga-0.99.16.orig/zebra/ipforward_sysctl.c 2010-06-20 23:40:45.000000000 +0200 ++++ quagga-0.99.16/zebra/ipforward_sysctl.c 2010-06-20 23:41:37.000000000 +0200 +@@ -31,6 +31,15 @@ + + #define MIB_SIZ 4 + ++/* Fix for recent (2.6.14) kernel headers */ ++#ifndef IPCTL_FORWARDING ++#define IPCTL_FORWARDING NET_IPV4_FORWARD ++#endif ++ ++#ifndef IP6CTL_FORWARDING ++#define IP6CTL_FORWARDING NET_IPV6_FORWARDING ++#endif ++ + extern struct zebra_privs_t zserv_privs; + + /* IPv4 forwarding control MIB. */ |