Merge pull request #113 from mavenugo/master

Fix a minor but in utils parsing UDP/TCP ports
This commit is contained in:
Jana Radhakrishnan 2015-05-04 16:43:41 -07:00
commit 85c61c1fcd
1 changed files with 2 additions and 2 deletions

View File

@ -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
}