From: Roy Marples Date: Thu, 16 May 2013 13:30:06 +0000 (+0000) Subject: Fix RA router ordering X-Git-Tag: v5.99.7~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8c5cee2cd474bec36f793923689f26338c54bb;p=thirdparty%2Fdhcpcd.git Fix RA router ordering --- diff --git a/ipv6rs.c b/ipv6rs.c index d2af0d68..58b1bdc6 100644 --- a/ipv6rs.c +++ b/ipv6rs.c @@ -392,7 +392,7 @@ add_router(struct ra *router) return; } } - TAILQ_INSERT_HEAD(&ipv6_routers, router, next); + TAILQ_INSERT_TAIL(&ipv6_routers, router, next); } static void