Skip to content

Commit b4a53cb

Browse files
author
Jesus Llorente
committed
Added missing table definitions to Table and Table6 classes
1 parent a425c01 commit b4a53cb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

iptc/ip4tc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,9 @@ class Table(object):
15521552
"""This is the constant for the raw table."""
15531553
NAT = "nat"
15541554
"""This is the constant for the nat table."""
1555-
ALL = ["filter", "mangle", "raw", "nat"]
1555+
SECURITY = "security"
1556+
"""This is the constant for the security table."""
1557+
ALL = ["filter", "mangle", "raw", "nat", "security"]
15561558
"""This is the constant for all tables."""
15571559

15581560
_cache = dict()

iptc/ip6tc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,11 @@ class Table6(Table):
571571
"""This is the constant for the mangle table."""
572572
RAW = "raw"
573573
"""This is the constant for the raw table."""
574+
NAT = "nat"
575+
"""This is the constant for the nat table."""
574576
SECURITY = "security"
575577
"""This is the constant for the security table."""
576-
ALL = ["filter", "mangle", "raw", "security"]
578+
ALL = ["filter", "mangle", "raw", "nat", "security"]
577579
"""This is the constant for all tables."""
578580

579581
_cache = dict()

0 commit comments

Comments
 (0)