Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# Jump to the editor
if ($type eq "net") {
- goto EDITOR;
+ goto EDITNET;
}
} elsif ($cgiparams{"ACTION"} eq "SAVE-PEER-NET") {
}
# If there are any errors, we go back to the editor
- goto EDITOR if (scalar @errormessages);
+ goto EDITNET if (scalar @errormessages);
# Save the connection
$peers{$key} = [
} elsif ($cgiparams{"ACTION"} eq $Lang::tr{'add'}) {
if ($cgiparams{"TYPE"} eq "net") {
- goto EDITOR;
+ goto EDITNET;
# Ask the user what type they want
} else {
exit(0);
-EDITOR:
+EDITNET:
# Send HTTP Headers
&Header::showhttpheaders();