Skip to content

Commit

Permalink
Merge pull request #125 from chuhn/fix_module_name
Browse files Browse the repository at this point in the history
Fix wrong module name for subnet_nextip
  • Loading branch information
mattpascoe authored Feb 1, 2018
2 parents 7e0e638 + c7e6acf commit 53c03bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/modules/ona/subnet.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ function subnet_nextip($options="") {
// Version - UPDATE on every edit!
$version = '1.00';

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

// Parse incoming options string to an array
$options = parse_options($options);
Expand All @@ -1056,7 +1056,7 @@ function subnet_nextip($options="") {
return(array(1,
<<<EOM
subnet_del-v{$version}
subnet_nextip-v{$version}
Return the next available IP address on a subnet.
Synopsis: subnet_nextip [KEY=VALUE] ...
Expand All @@ -1074,7 +1074,7 @@ function subnet_nextip($options="") {
}


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

0 comments on commit 53c03bc

Please sign in to comment.