Corrected missed line in branch 3006.x when backporting from PR 61620 and 65044

This commit is contained in:
David Murphy 2024-07-02 15:38:31 -06:00 committed by Daniel Wozniak
parent 3618966bc7
commit a09558bb27
2 changed files with 2 additions and 1 deletions

1
changelog/66683.fixed.md Normal file
View file

@ -0,0 +1 @@
Corrected missed line in branch 3006.x when backporting from PR 61620 and 65044

View file

@ -327,7 +327,7 @@ def new_set(name=None, set_type=None, family="ipv4", comment=False, **kwargs):
# Family only valid for certain set types
if "family" in _CREATE_OPTIONS[set_type]:
cmd.extend(["family", cmd, ipset_family])
cmd.extend(["family", ipset_family])
if comment:
cmd.append("comment")