aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bandwidthd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bandwidthd')
-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";
}