mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
Forward Firewall: fixed Typos
Signed-off-by: Alexander Marx <amarx@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
14f7cb87b9
commit
55674e0d38
@@ -577,7 +577,7 @@ sub checksource
|
||||
my @tmp= split (/\./,$ip);
|
||||
if (($tmp[3] eq "0") || ($tmp[3] eq "255"))
|
||||
{
|
||||
$errormessage=$Lang::tr{'fwhost err hostip'};
|
||||
$errormessage=$Lang::tr{'fwhost err hostip'}."<br>";
|
||||
}
|
||||
$fwdfwsettings{'src_addr'}="$ip/$subnet";
|
||||
|
||||
@@ -650,9 +650,9 @@ sub checktarget
|
||||
my @tmp= split (/\./,$ip);
|
||||
if (($tmp[3] eq "0") || ($tmp[3] eq "255"))
|
||||
{
|
||||
$errormessage=$Lang::tr{'fwhost err hostip'};
|
||||
$errormessage=$Lang::tr{'fwhost err hostip'}."<br>";
|
||||
}
|
||||
$fwdfwsettings{'tgt_addr'}=$ip."/".$subnet;
|
||||
$fwdfwsettings{'tgt_addr'}="$ip/$subnet";
|
||||
|
||||
if(!&General::validipandmask($fwdfwsettings{'tgt_addr'})){
|
||||
$errormessage.=$Lang::tr{'fwdfw err tgt_addr'}."<br>";
|
||||
@@ -762,7 +762,7 @@ sub checkrule
|
||||
my ($tbyte1,$tbyte2,$tbyte3,$tbyte4)=split(".",$networkip2);
|
||||
if ($sbyte1 eq $tbyte1 && $sbyte2 eq $tbyte2 && $sbyte3 eq $tbyte3){
|
||||
$hint=$Lang::tr{'fwdfw hint ip1'}."<br>";
|
||||
$hint.=$Lang::tr{'fwdfw hint ip2'}." Source: $networkip1/$scidr Target:$networkip2/$tcidr<br>";
|
||||
$hint.=$Lang::tr{'fwdfw hint ip2'}." Source: $networkip1/$scidr Target: $networkip2/$tcidr<br>";
|
||||
}
|
||||
|
||||
}else{
|
||||
|
||||
@@ -1226,7 +1226,7 @@ END
|
||||
print"<input type='submit' value='$Lang::tr{'save'}'><input type='hidden' name='ACTION' value='saveservice'></form>";
|
||||
}
|
||||
print<<END;
|
||||
<form style='display:inline;' method='post'><input type='submit' value='$Lang::tr{'fwhost reset'}'></form></td></tr>
|
||||
<form style='display:inline;' method='post'><input type='submit' value='$Lang::tr{'fwhost back'}'></form></td></tr>
|
||||
</table></form>
|
||||
|
||||
|
||||
|
||||
@@ -953,7 +953,7 @@
|
||||
'fwhost addrule' => 'Neue Regel hinzufügen:',
|
||||
'fwhost any' => 'Alle',
|
||||
'fwhost attention' => 'ACHTUNG',
|
||||
'fwhost back' => 'Übernehmen',
|
||||
'fwhost back' => 'Zurück',
|
||||
'fwhost blue' => 'Blau',
|
||||
'fwhost ccdhost' => 'OpenVPN Clients:',
|
||||
'fwhost ccdnet' => 'OpenVPN Netzwerke:',
|
||||
|
||||
@@ -936,11 +936,11 @@
|
||||
'fwdfw err tgtport' => 'Please provide target port.',
|
||||
'fwdfw err tgt_addr' => 'Invalid target IP-address.',
|
||||
'fwdfw err tgt_port' => 'Invalid target port',
|
||||
'fwdfw err tgt_mac' => 'MAC addresses can not be used as target.',
|
||||
'fwdfw err tgt_mac' => 'MAC addresses cannot be used as target.',
|
||||
'fwdfw err tgt_grp' => 'Target servicegroup is empty',
|
||||
'fwdfw err time' => 'You have to define at least one day.',
|
||||
'fwdfw from' => 'From:',
|
||||
'fwdfw hint ip1' => 'The last generated rule may never be activated because source and target my be in same subnet.',
|
||||
'fwdfw hint ip1' => 'The last generated rule may never be activated because source and target probably are in same subnet.',
|
||||
'fwdfw hint ip2' => 'Please doublecheck if this rule makes sense: ',
|
||||
'fwdfw ipsec network' => 'IpSec networks:',
|
||||
'fwdfw log rule' => 'Log rule',
|
||||
@@ -978,7 +978,7 @@
|
||||
'fwhost addrule' => 'Add new rule:',
|
||||
'fwhost any' => 'Any',
|
||||
'fwhost attention' => 'ATTENTION',
|
||||
'fwhost back' => 'commit',
|
||||
'fwhost back' => 'back',
|
||||
'fwhost blue' => 'Blue',
|
||||
'fwhost ccdhost' => 'OpenVPN clients:',
|
||||
'fwhost ccdnet' => 'OpenVPN networks:',
|
||||
|
||||
Reference in New Issue
Block a user