From: Steven Barth Date: Thu, 29 Nov 2012 16:29:42 +0000 (+0100) Subject: Change order of commands in restart IPv6 mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5dd38d3de6bd3e249956b9bbbb0eebf998f4df2b;p=project%2Fodhcp6c.git Change order of commands in restart IPv6 mode --- 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"); }