From 5dd38d3de6bd3e249956b9bbbb0eebf998f4df2b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 29 Nov 2012 17:29:42 +0100 Subject: [PATCH] Change order of commands in restart IPv6 mode --- src/odhcp6c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 7c49040..b517204 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -148,8 +148,8 @@ int main(_unused int argc, char* const argv[]) // Configure interface to accept RA if (reset) { - sysctl_interface(ifname, "disable_ipv6", "1"); sysctl_interface(ifname, "accept_ra", "2"); + sysctl_interface(ifname, "disable_ipv6", "1"); sysctl_interface(ifname, "disable_ipv6", "0"); } -- 2.39.5