See #3655. Don't crash if there isn't an sname. :/
git-svn-id: file:///home/svn/framework3/trunk@11713 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
dda837a06c
commit
19c8673346
|
@ -580,6 +580,7 @@ class DBManager
|
||||||
# Do the same for a service if that's also included.
|
# Do the same for a service if that's also included.
|
||||||
if (opts[:port])
|
if (opts[:port])
|
||||||
proto = nil
|
proto = nil
|
||||||
|
sname = nil
|
||||||
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]
|
||||||
|
|
Loading…
Reference in New Issue