mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-05-06 09:05:16 +02:00
Add fport and lport (unused) to the for that parse subnets. Otherwise python
is unhappy with "ValueError: too many values to unpack (expected 4)"
This commit is contained in:
parent
b1ee4f1d65
commit
f65a51bbee
@ -205,7 +205,7 @@ class Method(BaseMethod):
|
|||||||
|
|
||||||
if subnets:
|
if subnets:
|
||||||
# create new subnet entries
|
# create new subnet entries
|
||||||
for _, swidth, sexclude, snet in sorted(subnets,
|
for _, swidth, sexclude, snet, fport, lport in sorted(subnets,
|
||||||
key=lambda s: s[1],
|
key=lambda s: s[1],
|
||||||
reverse=True):
|
reverse=True):
|
||||||
if sexclude:
|
if sexclude:
|
||||||
|
Loading…
Reference in New Issue
Block a user