Fix a minor but in utils parsing UDP/TCP ports

Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
Madhu Venugopal 2015-05-04 16:28:51 -07:00
parent 76ac418c43
commit 30e2ee9793
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
}