]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix the option to change script.
authorRoy Marples <roy@marples.name>
Tue, 27 May 2008 20:04:15 +0000 (20:04 +0000)
committerRoy Marples <roy@marples.name>
Tue, 27 May 2008 20:04:15 +0000 (20:04 +0000)
dhcpcd.c

index 1dd633307c571d918a2e020b8a306616b40372ba..aed513f20ad13a0c68d10f4c7ffbd0b0cf29b660 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -212,6 +212,9 @@ parse_option(int opt, char *oarg, struct options *options)
        size_t s;
 
        switch(opt) {
+       case 'c':
+               options->script = oarg;
+               break;
        case 'h':
                if (!oarg)
                        *options->hostname = '\0';