]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on NetBSD
authorRoy Marples <roy@marples.name>
Thu, 10 Jun 2010 10:38:37 +0000 (10:38 +0000)
committerRoy Marples <roy@marples.name>
Thu, 10 Jun 2010 10:38:37 +0000 (10:38 +0000)
dhcpcd.c

index fc659a13d1b276d43a59efdd8ee9b5690849a998..e89d1aa886ef4fc8c2f78436a3b6dea8d54e85ac 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -1325,7 +1325,7 @@ handle_link(_unused void *arg)
 }
 
 static void
-reboot(struct interface *iface, int argc, char **argv)
+if_reboot(struct interface *iface, int argc, char **argv)
 {
        const struct if_options *ifo;
        int opt;
@@ -1385,7 +1385,7 @@ reconf_reboot(int action, int argc, char **argv, int oi)
                }
                if (ifn) {
                        if (action)
-                               reboot(ifn, argc, argv);
+                               if_reboot(ifn, argc, argv);
                        else if (ifn->state->new)
                                configure(ifn);
                        free_interface(ifp);