ping

None of the submitted netifd patches last week were applied nor did I
receive any feedback.
First two patches solve issues inside netifd while the last patch adds a
configuration option to enable/disable IPv6 per interface; if any remarks
just let me know.

Hans


On Mon, Apr 7, 2014 at 1:30 PM, Hans Dedecker <[email protected]> wrote:

> Allows to add identical routes in different routing tables
>
> Signed-off-by: Hans Dedecker <[email protected]>
> ---
>  interface-ip.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/interface-ip.c b/interface-ip.c
> index d5a3832..c641233 100644
> --- a/interface-ip.c
> +++ b/interface-ip.c
> @@ -399,6 +399,9 @@ route_cmp(const void *k1, const void *k2, void *ptr)
>         if (r1->sourcemask != r2->sourcemask)
>                 return r1->sourcemask - r2->sourcemask;
>
> +       if (r1->table != r2->table)
> +               return r1->table - r2->table;
> +
>         int maskcmp = memcmp(&r1->source, &r2->source, sizeof(r1->source));
>         if (maskcmp)
>                 return maskcmp;
> --
> 1.7.1
>
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to