Dont import port 0

git-svn-id: file:///home/svn/framework3/trunk@8936 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-27 02:31:14 +00:00
parent 79e277450a
commit 56e2f73e59
1 changed files with 1 additions and 0 deletions

View File

@ -1194,6 +1194,7 @@ class DBManager
sname = svc.attributes['name'].to_s
sprot = svc.attributes['protocol'].to_s.downcase
sport = svc.attributes['port'].to_s.to_i
next if sport == 0
name = sname.split('(')[0].strip
info = ''