fix gost port expose mode

This commit is contained in:
Kirigaya Kazuto 2022-02-06 08:32:01 +00:00
parent 1c422ece12
commit 36fbd4942e

View File

@ -274,7 +274,7 @@ class Parser:
tunnel_port = parts[1]
self.add_gost_server(tunnel_port)
self.add_expose(tunnel_port)
self.add_expose(tunnel_port, mode='tcp')
elif line.startswith('#gost-client '):
parts = line.split(' ')[1:]
tunnel_name = parts[0]