Changeset 624


Ignore:
Timestamp:
10/08/14 13:07:05 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Split off RPC/rDNS error reporting on adding a new master block from
the infomessage

File:
1 edited

Legend:

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

    r623 r624  
    129129      $page->param(err => $msg);
    130130    } else {
     131      $page->param(parent => $msg);
    131132      if ($code eq 'WARN') {
    132         $msg =~ s/\n\n/<br>\n/g;
    133         $msg =~ s/:\n/:<br>\n/g;
    134         $page->param(warn => $msg);
     133        $IPDB::errstr =~ s/\n\n/<br>\n/g;
     134        $IPDB::errstr =~ s/:\n/:<br>\n/g;
     135        $page->param(warn => $IPDB::errstr);
    135136      }
    136137      syslog "info", "$authuser added master block $webvar{cidr}";
Note: See TracChangeset for help on using the changeset viewer.