diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 19:12:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 19:12:47 +0000 |
commit | db8a2288b605923ce6ac2b6701e3aa789c076a5f (patch) | |
tree | 8cfc684d08f2a7ec141ed3ddeec0570f94d76673 /packages | |
parent | 7872cd9e21055f7869cbf49149e5e6d11e69f98b (diff) | |
download | pfsense-packages-db8a2288b605923ce6ac2b6701e3aa789c076a5f.tar.gz pfsense-packages-db8a2288b605923ce6ac2b6701e3aa789c076a5f.tar.bz2 pfsense-packages-db8a2288b605923ce6ac2b6701e3aa789c076a5f.zip |
Handle PPPOE and DHCP correctly
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"; |