]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix RA router ordering
authorRoy Marples <roy@marples.name>
Thu, 16 May 2013 13:30:06 +0000 (13:30 +0000)
committerRoy Marples <roy@marples.name>
Thu, 16 May 2013 13:30:06 +0000 (13:30 +0000)
ipv6rs.c

index d2af0d68deb4f4ceb8ba5f997dc41fde621da318..58b1bdc69259d850cd19f8d3e9c76d46626e3435 100644 (file)
--- 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