Skip to content

Commit 53c03bc

Browse files
authored
Merge pull request #125 from chuhn/fix_module_name
Fix wrong module name for subnet_nextip
2 parents 7e0e638 + c7e6acf commit 53c03bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

www/modules/ona/subnet.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ function subnet_nextip($options="") {
10411041
// Version - UPDATE on every edit!
10421042
$version = '1.00';
10431043

1044-
printmsg('DEBUG => subnet_del('.$options.') called', 3);
1044+
printmsg('DEBUG => subnet_nextip('.$options.') called', 3);
10451045

10461046
// Parse incoming options string to an array
10471047
$options = parse_options($options);
@@ -1056,7 +1056,7 @@ function subnet_nextip($options="") {
10561056
return(array(1,
10571057
<<<EOM
10581058
1059-
subnet_del-v{$version}
1059+
subnet_nextip-v{$version}
10601060
Return the next available IP address on a subnet.
10611061
10621062
Synopsis: subnet_nextip [KEY=VALUE] ...
@@ -1074,7 +1074,7 @@ function subnet_nextip($options="") {
10741074
}
10751075

10761076

1077-
// Find the subnet record we're deleting
1077+
// Find the subnet record
10781078
list($status, $rows, $subnet) = ona_find_subnet($options['subnet']);
10791079
if ($status or !$rows) {
10801080
$self['error'] = "ERROR => Subnet not found";

0 commit comments

Comments
 (0)