Skip to content

Commit dc0279c

Browse files
committed
fix local_bind issue
1 parent f703bb8 commit dc0279c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pproxy/__doc__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = "pproxy"
2-
__version__ = "2.1.7"
2+
__version__ = "2.1.8"
33
__license__ = "MIT"
44
__description__ = "Proxy server that can tunnel among remote servers by regex rules."
55
__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"

pproxy/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def compile(cls, uri, relay=None):
467467
alive=True, direct='direct' in protonames, tunnel='tunnel' in protonames, \
468468
reuse='pack' in protonames or relay and relay.reuse, backward='in' in rawprotos, \
469469
ssh='ssh' in rawprotos, relay=relay)
470-
ProxyURI.DIRECT = ProxyURI(direct=True, tunnel=False, reuse=False, relay=None, alive=True, match=None, cipher=None, backward=None, ssh=None)
470+
ProxyURI.DIRECT = ProxyURI(direct=True, tunnel=False, reuse=False, relay=None, alive=True, match=None, cipher=None, backward=None, ssh=None, lbind=None)
471471

472472
async def test_url(url, rserver):
473473
url = urllib.parse.urlparse(url)

0 commit comments

Comments
 (0)