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 --- 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 +++ 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 @@ -57,8 +57,6 @@ my $c = shift; $c->app->log->info( $c->log_req ); - #my $pf_datas = $c->stash('pf_datas'); - my $portforwards = $c->stash('portforwards'); my $rt = $c->current_route; my $trt = ( $c->param('trt') || 'LIST' ); @@ -171,12 +169,10 @@ else { $fdb = $udp_db; } - #Get the values - my $proto = $c->param("proto"); - my $sport = $c->param("sport"); + #Get the other values my $dport = $c->param("dport"); my $dhost = get_destination_host($c); - my $cmmnt = $c->param("commnt") || ""; + my $cmmnt = $c->param("cmmnt") || ""; my $allow = $c->param("allow") || ""; my $deny = (($c->param("allow")) ? "0.0.0.0/0" : ""); $proto =~ s/^\s+|\s+$//g;