diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bandwidthd/bandwidthd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc index 6976f552..4c19636f 100644 --- a/packages/bandwidthd/bandwidthd.inc +++ b/packages/bandwidthd/bandwidthd.inc @@ -73,7 +73,7 @@ function bandwidthd_install_config() { $ifcfg = &$config['interfaces'][$int]; $subnet = gen_subnet($ifcfg['ipaddr'], $ifcfg['subnet']); $subnetmask = gen_subnet_mask($ifcfg['subnet']); - if($subnet == "pppoe" or $subnet == "dhcp") { + if($subnet == "pppoe") { $subnet = find_interface_ip("ng0"); if($subnet) $subnets .= "subnet {$subnet}/32\n"; |