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-b9f4589650daunstable
parent
7a606033ea
commit
dda837a06c
|
@ -583,6 +583,7 @@ class DBManager
|
||||||
case opts[:proto].to_s.downcase # Catch incorrect usages
|
case opts[:proto].to_s.downcase # Catch incorrect usages
|
||||||
when 'tcp','udp'
|
when 'tcp','udp'
|
||||||
proto = opts[:proto]
|
proto = opts[:proto]
|
||||||
|
sname = opts[:sname] if opts[:sname]
|
||||||
when 'dns','snmp','dhcp'
|
when 'dns','snmp','dhcp'
|
||||||
proto = 'udp'
|
proto = 'udp'
|
||||||
sname = opts[:proto]
|
sname = opts[:proto]
|
||||||
|
|
Loading…
Reference in New Issue