forked from extern/shorewall_code
Fix for damaged /etc/services files
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6687 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6823d5054b
commit
dcf6a8902d
@ -140,7 +140,7 @@ while ( read_a_line1 ) {
|
||||
|
||||
my ( $number, $proto ) = split '/', $proto_number;
|
||||
|
||||
next unless $proto eq 'tcp' || $proto eq 'udp';
|
||||
next unless $proto && ($proto eq 'tcp' || $proto eq 'udp');
|
||||
|
||||
print_service( $name1 , $number );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user