]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Arrived interfaces should share the same commandline options.
authorRoy Marples <roy@marples.name>
Wed, 19 Jun 2013 10:06:54 +0000 (10:06 +0000)
committerRoy Marples <roy@marples.name>
Wed, 19 Jun 2013 10:06:54 +0000 (10:06 +0000)
dhcpcd.c

index 0ded685caf06d5b4368cfa20968371ad41b81043..627085c7d68e8ea89c67f573a5adbe8911753d34 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -560,7 +560,7 @@ handle_interface(int action, const char *ifname)
                        TAILQ_REMOVE(ifs, ifp, next);
                        TAILQ_INSERT_TAIL(ifaces, ifp, next);
                }
-               init_state(ifp, 0, NULL);
+               init_state(ifp, margc, margv);
                start_interface(ifp);
        }