projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 77532 - search count is now correct
[freeside.git]
/
FS
/
FS
/
addr_block.pm
diff --git
a/FS/FS/addr_block.pm
b/FS/FS/addr_block.pm
index
74c372e
..
5fd64bf
100755
(executable)
--- a/
FS/FS/addr_block.pm
+++ b/
FS/FS/addr_block.pm
@@
-218,7
+218,7
@@
sub free_addrs {
my %used_addr_map =
map {$_ => 1}
my %used_addr_map =
map {$_ => 1}
- FS::IP_Mixin->used_addresses
_in_block
($self),
+ FS::IP_Mixin->used_addresses($self),
FS::Conf->new()->config('exclude_ip_addr');
[
FS::Conf->new()->config('exclude_ip_addr');
[
@@
-254,7
+254,7
@@
sub next_free_addr {
$selfaddr->addr,
$selfaddr->network->addr,
$selfaddr->broadcast->addr,
$selfaddr->addr,
$selfaddr->network->addr,
$selfaddr->broadcast->addr,
- FS::IP_Mixin->used_addresses
_in_block
($self)
+ FS::IP_Mixin->used_addresses($self)
);
# just do a linear search of the block
);
# just do a linear search of the block