See #3655. Explicitly pass the sname if it's present from report_note to report_service.

git-svn-id: file:///home/svn/framework3/trunk@11712 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-02-04 15:29:57 +00:00
parent 7a606033ea
commit dda837a06c
1 changed files with 1 additions and 0 deletions

View File

@ -583,6 +583,7 @@ class DBManager
case opts[:proto].to_s.downcase # Catch incorrect usages
when 'tcp','udp'
proto = opts[:proto]
sname = opts[:sname] if opts[:sname]
when 'dns','snmp','dhcp'
proto = 'udp'
sname = opts[:proto]