report udp protocol correctly, see #5260, r13569

git-svn-id: file:///home/svn/framework3/trunk@13570 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-08-15 22:39:41 +00:00
parent 4779c039f0
commit f16e593628
2 changed files with 6 additions and 6 deletions

View File

@ -263,7 +263,7 @@ module Rex
@state[:service].each do |k,v|
case k
when "protocol"
port_hash[:protocol] = v
port_hash[:proto] = v
when "port"
port_hash[:port] = v
when "status"

View File

@ -281,7 +281,7 @@ module Rex
@state[:service].each do |k,v|
case k
when "protocol"
port_hash[:protocol] = v
port_hash[:proto] = v
when "port"
port_hash[:port] = v
when "name"