feat(custom): support tcp-client proto for OpenVPN

This commit is contained in:
Quentin McGaw
2023-11-28 07:41:34 +00:00
parent d5376629df
commit c326b616b4
2 changed files with 5 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ func extractProto(line string) (protocol string, err error) {
}
switch fields[1] {
case "tcp", "tcp4", "tcp6", "udp", "udp4", "udp6":
case "tcp", "tcp4", "tcp6", "tcp-client", "udp", "udp4", "udp6":
default:
return "", fmt.Errorf("%w: %s", errProtocolNotSupported, fields[1])
}