1 |
diff -urN smeserver-manager-0.1.0.old/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/lib/SrvMngr/Controller/Portforwarding.pm smeserver-manager-0.1.0/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/lib/SrvMngr/Controller/Portforwarding.pm |
2 |
--- smeserver-manager-0.1.0.old/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/lib/SrvMngr/Controller/Portforwarding.pm 2020-04-07 18:41:12.497759197 +0100 |
3 |
+++ smeserver-manager-0.1.0/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/lib/SrvMngr/Controller/Portforwarding.pm 2020-04-07 17:52:00.000000000 +0100 |
4 |
@@ -57,8 +57,6 @@ |
5 |
|
6 |
my $c = shift; |
7 |
$c->app->log->info( $c->log_req ); |
8 |
- #my $pf_datas = $c->stash('pf_datas'); |
9 |
- my $portforwards = $c->stash('portforwards'); |
10 |
|
11 |
my $rt = $c->current_route; |
12 |
my $trt = ( $c->param('trt') || 'LIST' ); |
13 |
@@ -171,12 +169,10 @@ |
14 |
else { |
15 |
$fdb = $udp_db; |
16 |
} |
17 |
- #Get the values |
18 |
- my $proto = $c->param("proto"); |
19 |
- my $sport = $c->param("sport"); |
20 |
+ #Get the other values |
21 |
my $dport = $c->param("dport"); |
22 |
my $dhost = get_destination_host($c); |
23 |
- my $cmmnt = $c->param("commnt") || ""; |
24 |
+ my $cmmnt = $c->param("cmmnt") || ""; |
25 |
my $allow = $c->param("allow") || ""; |
26 |
my $deny = (($c->param("allow")) ? "0.0.0.0/0" : ""); |
27 |
$proto =~ s/^\s+|\s+$//g; |