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:
JohnHay 2021-12-20 08:53:34 +02:00
parent b1ee4f1d65
commit f65a51bbee

View File

@ -205,7 +205,7 @@ class Method(BaseMethod):
if subnets:
# 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],
reverse=True):
if sexclude: