X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f0c66715de5f063152d8bca967bee53ae8a0e4a3..5bc450051be79bfae37ad1f185c4d2fb315d7fd7:/target/linux/generic-2.6/patches-2.6.23/201-multiple_default_gateways.patch diff --git a/target/linux/generic-2.6/patches-2.6.23/201-multiple_default_gateways.patch b/target/linux/generic-2.6/patches-2.6.23/201-multiple_default_gateways.patch index 123248927..3b8eeedef 100644 --- a/target/linux/generic-2.6/patches-2.6.23/201-multiple_default_gateways.patch +++ b/target/linux/generic-2.6/patches-2.6.23/201-multiple_default_gateways.patch @@ -1,7 +1,5 @@ -Index: linux-2.6.23.17/include/linux/rtnetlink.h -=================================================================== ---- linux-2.6.23.17.orig/include/linux/rtnetlink.h -+++ linux-2.6.23.17/include/linux/rtnetlink.h +--- a/include/linux/rtnetlink.h ++++ b/include/linux/rtnetlink.h @@ -293,6 +293,8 @@ struct rtnexthop #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ #define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */ @@ -11,10 +9,8 @@ Index: linux-2.6.23.17/include/linux/rtnetlink.h /* Macros to handle hexthops */ -Index: linux-2.6.23.17/include/net/flow.h -=================================================================== ---- linux-2.6.23.17.orig/include/net/flow.h -+++ linux-2.6.23.17/include/net/flow.h +--- a/include/net/flow.h ++++ b/include/net/flow.h @@ -19,6 +19,8 @@ struct flowi { struct { __be32 daddr; @@ -33,10 +29,8 @@ Index: linux-2.6.23.17/include/net/flow.h #define fl4_tos nl_u.ip4_u.tos #define fl4_scope nl_u.ip4_u.scope -Index: linux-2.6.23.17/net/ipv4/route.c -=================================================================== ---- linux-2.6.23.17.orig/net/ipv4/route.c -+++ linux-2.6.23.17/net/ipv4/route.c +--- a/net/ipv4/route.c ++++ b/net/ipv4/route.c @@ -1116,6 +1116,7 @@ void ip_rt_redirect(__be32 old_gw, __be3 /* Gateway is different ... */