File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,7 @@ function subnet_nextip($options="") {
1041
1041
// Version - UPDATE on every edit!
1042
1042
$ version = '1.00 ' ;
1043
1043
1044
- printmsg ('DEBUG => subnet_del ( ' .$ options .') called ' , 3 );
1044
+ printmsg ('DEBUG => subnet_nextip ( ' .$ options .') called ' , 3 );
1045
1045
1046
1046
// Parse incoming options string to an array
1047
1047
$ options = parse_options ($ options );
@@ -1056,7 +1056,7 @@ function subnet_nextip($options="") {
1056
1056
return (array (1 ,
1057
1057
<<<EOM
1058
1058
1059
- subnet_del -v {$ version }
1059
+ subnet_nextip -v {$ version }
1060
1060
Return the next available IP address on a subnet.
1061
1061
1062
1062
Synopsis: subnet_nextip [KEY=VALUE] ...
@@ -1074,7 +1074,7 @@ function subnet_nextip($options="") {
1074
1074
}
1075
1075
1076
1076
1077
- // Find the subnet record we're deleting
1077
+ // Find the subnet record
1078
1078
list ($ status , $ rows , $ subnet ) = ona_find_subnet ($ options ['subnet ' ]);
1079
1079
if ($ status or !$ rows ) {
1080
1080
$ self ['error ' ] = "ERROR => Subnet not found " ;
You can’t perform that action at this time.
0 commit comments