From f5ba99d79abc6fec4b31b6278053edfaaa0bc476 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Feb 2007 18:32:06 +0000 Subject: Use /32 for pppoe --- packages/bandwidthd/bandwidthd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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"; } -- cgit v1.2.3