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

@@ -104,6 +104,10 @@ func Test_extractDataFromLine(t *testing.T) {
line: "proto tcp",
protocol: constants.TCP,
},
"tcp-client": {
line: "proto tcp-client",
protocol: "tcp-client",
},
"extract remote error": {
line: "remote bad",
isErr: errHostNotIP,