dhcp: Fix syntax error in last commit
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 16:05:44 +0000 (17:05 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 16:05:44 +0000 (17:05 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/hooks/configs/dhcp

index 1c75193..ba5608a 100644 (file)
@@ -40,10 +40,10 @@ hook_parse_cmdline() {
 
        while [ $# -gt 0 ]; do
                case "${1}" in
-                       --ipv6)
+                       --ipv6=*)
                                IPV6="$(cli_get_bool "${1}")"
                                ;;
-                       --ipv4)
+                       --ipv4=*)
                                IPV4="$(cli_get_bool "${1}")"
                                ;;
                        *)