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";
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>";
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{
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>
'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:',
'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',
'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:',