]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Change order of commands in restart IPv6 mode
authorSteven Barth <steven@midlink.org>
Thu, 29 Nov 2012 16:29:42 +0000 (17:29 +0100)
committerSteven Barth <steven@midlink.org>
Thu, 29 Nov 2012 16:29:42 +0000 (17:29 +0100)
src/odhcp6c.c

index 7c4904030e9f875ea994103f564e0f586bb2d102..b517204829d20fc5e02f17f07e41dcb2457d95b1 100644 (file)
@@ -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");
        }