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:
teastep 2007-06-27 00:48:56 +00:00
parent 6823d5054b
commit dcf6a8902d

View File

@ -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 );