Merge pull request #113 from mavenugo/master
Fix a minor but in utils parsing UDP/TCP ports
This commit is contained in:
commit
85c61c1fcd
|
@ -114,9 +114,9 @@ func ParseProtocol(s string) Protocol {
|
|||
case "icmp":
|
||||
return 1
|
||||
case "udp":
|
||||
return 6
|
||||
case "tcp":
|
||||
return 17
|
||||
case "tcp":
|
||||
return 6
|
||||
default:
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue