Back out silly part of last change

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9608 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-03-05 20:27:22 +00:00
parent 410e551a69
commit be8e9990bd

View File

@ -332,8 +332,7 @@ sub add_a_provider( $$$$$$$$ ) {
$optional = 1; $optional = 1;
} elsif ( $option =~ /^src=(.*)$/ ) { } elsif ( $option =~ /^src=(.*)$/ ) {
fatal_error "OPTION 'src' not allowed on shared interface" if $shared; fatal_error "OPTION 'src' not allowed on shared interface" if $shared;
my @addresses = validate_address( $1 , 1 ); $address = validate_address( $1 , 1 );
$address = $addresses[0];
} elsif ( $option =~ /^mtu=(\d+)$/ ) { } elsif ( $option =~ /^mtu=(\d+)$/ ) {
$mtu = "mtu $1 "; $mtu = "mtu $1 ";
} elsif ( $option =~ /^fallback=(\d+)$/ ) { } elsif ( $option =~ /^fallback=(\d+)$/ ) {