Dont import port 0
git-svn-id: file:///home/svn/framework3/trunk@8936 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
79e277450a
commit
56e2f73e59
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue