aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bandwidthd/bandwidthd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-04 18:32:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-04 18:32:06 +0000
commitf5ba99d79abc6fec4b31b6278053edfaaa0bc476 (patch)
tree4c21ed490d30f2b2fde08a369732d4b46b45f141 /packages/bandwidthd/bandwidthd.inc
parent34103b3852cb34487ced5003ab3132922464ddac (diff)
downloadpfsense-packages-f5ba99d79abc6fec4b31b6278053edfaaa0bc476.tar.gz
pfsense-packages-f5ba99d79abc6fec4b31b6278053edfaaa0bc476.tar.bz2
pfsense-packages-f5ba99d79abc6fec4b31b6278053edfaaa0bc476.zip
Use /32 for pppoe
Diffstat (limited to 'packages/bandwidthd/bandwidthd.inc')
-rw-r--r--packages/bandwidthd/bandwidthd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index 0af1309d..84bb88cc 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -76,7 +76,7 @@ function bandwidthd_install_config() {
if($subnet == "pppoe" or $subnet == "dhcp") {
$subnet = find_interface_ip("ng0");
if($subnet)
- $subnets .= "subnet {$subnet}";
+ $subnets .= "subnet {$subnet}/32";
} else {
$subnets .= "subnet {$subnet}/{$ifcfg['subnet']}\n";
}