mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix generated record value
This commit is contained in:
@@ -44,7 +44,8 @@ if ($in{'from'} && $in{'to'}) {
|
||||
$rhs =~ s/\$\$/\0/g;
|
||||
$rhs =~ s/\$/$i/g;
|
||||
$rhs =~ s/\0/\$/g;
|
||||
$rhsfull = $rhs =~ /\.$/ ? $rhs :
|
||||
$rhsfull = &check_ipaddress($rhs) ? $rhs :
|
||||
$rhs =~ /\.$/ ? $rhs :
|
||||
$dom eq "." ? "$rhs." : "$rhs.$dom";
|
||||
push(@recs, { 'name' => $lhsfull,
|
||||
'values' => [ $rhsfull ],
|
||||
|
||||
@@ -44,7 +44,8 @@ if ($in{'show'}) {
|
||||
$rhs =~ s/\$\$/\0/g;
|
||||
$rhs =~ s/\$/$i/g;
|
||||
$rhs =~ s/\0/\$/g;
|
||||
$rhsfull = $rhs =~ /\.$/ ? $rhs :
|
||||
$rhsfull = &check_ipaddress($rhs) ? $rhs :
|
||||
$rhs =~ /\.$/ ? $rhs :
|
||||
$dom eq "." ? "$rhs." : "$rhs.$dom";
|
||||
|
||||
print &ui_columns_row([
|
||||
|
||||
Reference in New Issue
Block a user