remove option dhcp for host.fw
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 14 Apr 2014 10:06:45 +0000 (12:06 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 14 Apr 2014 10:06:45 +0000 (12:06 +0200)
src/PVE/Firewall.pm

index f68476f..33acf88 100644 (file)
@@ -1850,7 +1850,7 @@ sub parse_hostfw_option {
 
     my $loglevels = "emerg|alert|crit|err|warning|notice|info|debug|nolog";
 
-    if ($line =~ m/^(enable|dhcp|nosmurfs|tcpflags|allow_bridge_route|optimize):\s*(0|1)\s*$/i) {
+    if ($line =~ m/^(enable|nosmurfs|tcpflags|allow_bridge_route|optimize):\s*(0|1)\s*$/i) {
        $opt = lc($1);
        $value = int($2);
     } elsif ($line =~ m/^(log_level_in|log_level_out|tcp_flags_log_level|smurf_log_level):\s*(($loglevels)\s*)?$/i) {