This commit is contained in:
crusader 2018-04-28 23:51:47 +09:00
parent 3d84022b30
commit 0fa5fda24d

View File

@ -14,13 +14,13 @@ const (
var ( var (
portTypeID = map[PortType]string{ portTypeID = map[PortType]string{
PortTypeTCP: "TCP", PortTypeTCP: "tcp",
PortTypeUDP: "UDP", PortTypeUDP: "udp",
} }
portTypeName = map[string]PortType{ portTypeName = map[string]PortType{
"TCP": PortTypeTCP, "tcp": PortTypeTCP,
"UDP": PortTypeUDP, "udp": PortTypeUDP,
} }
) )