Changeset 929


Ignore:
Timestamp:
09/16/22 09:49:33 (2 years ago)
Author:
Kris Deugau
Message:

/trunk

Trim errant whitespace from "gimme" CIDR in admin.cgi.
Update copyright dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/admin.cgi

    r915 r929  
    1010# Last update by $Author$
    1111###
    12 # Copyright (C) 2004-2016 - Kris Deugau
     12# Copyright (C) 2004-2018,2022 - Kris Deugau
    1313
    1414use strict;
     
    121121elsif ($webvar{action} eq 'alloc') {
    122122
     123  $webvar{cidr} =~ s/^\s+//;
     124  $webvar{cidr} =~ s/\s+$//;
    123125  my $cidr = new NetAddr::IP $webvar{cidr};
    124126  if (!$cidr || "$cidr" =~ /^0/) {
Note: See TracChangeset for help on using the changeset viewer.