==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this
link:http://bugs.contribs.org/show_bug.cgi?id=8524
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #1 from Unnilennium <[email protected]> ---
the correct syntax should be :
subnet 10.10.45.5/25
or
subnet 10.10.45.5 255.255.255.255
to fix this :
template /etc/e-smith/templates/etc/bandwidthd.conf/07subnet
should start like this :
# here we add list of local networks
use esmith::NetworksDB;
my $ndb = esmith::NetworksDB->open_ro();
$localAccess = $ndb->local_access_spec();
# $localAccess =~ s#/255\.255\.255\.255##g;
$localAccess =~ s/ /,/g;
$localAccess =~ s:/: :g;
my @LocalAccess = split(/,/, $localAccess);
foreach $rec (@LocalAccess)
{
if ( $rec !~ /.* .*/)
{$rec= "$rec 255.255.255.255";}
$OUT .= "subnet $rec \n"
unless $rec eq "127.0.0.1 255.255.255.255";
}
( one line to comment out, two lines added, and one modified)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/