forked from extern/shorewall_code
More openvpn changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6243 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
cad5d896d3
commit
2da69bd0b7
@ -127,7 +127,7 @@ sub setup_tunnels() {
|
||||
|
||||
( $kind, my ( $proto, $p ) ) = split /:/, $kind;
|
||||
|
||||
if ( $p ) {
|
||||
if ( defined $p && $p ne '' ) {
|
||||
$port = $p;
|
||||
$protocol = $proto;
|
||||
} elsif ( $proto ) {
|
||||
@ -150,7 +150,7 @@ sub setup_tunnels() {
|
||||
|
||||
( $kind, my ( $proto, $p ) ) = split /:/, $kind;
|
||||
|
||||
if ( $p ) {
|
||||
if ( defined $p && $p ne '' ) {
|
||||
$port = $p;
|
||||
$protocol = $proto;
|
||||
} elsif ( $proto ) {
|
||||
@ -173,7 +173,7 @@ sub setup_tunnels() {
|
||||
|
||||
( $kind, my ( $proto, $p ) ) = split /:/, $kind;
|
||||
|
||||
if ( $p ) {
|
||||
if ( defined $p && $p ne '' ) {
|
||||
$port = $p;
|
||||
$protocol = $proto;
|
||||
} elsif ( $proto ) {
|
||||
|
Loading…
Reference in New Issue
Block a user