nft-update-addresses: add comment about ip update format

main
Felix Stupp 1 month ago
parent cba1292bd9
commit 543c4cac1d
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -224,6 +224,7 @@ class IpFlag(Flag):
IPv6_ULA_NET = IPv6Network("fc00::/7") # because ip.is_private is wrong IPv6_ULA_NET = IPv6Network("fc00::/7") # because ip.is_private is wrong
# parses output of "ip -o address" / "ip -o monitor address"
IP_MON_PATTERN = re.compile( IP_MON_PATTERN = re.compile(
r"""(?x)^ r"""(?x)^
(?P<deleted>[Dd]eleted\s+)? (?P<deleted>[Dd]eleted\s+)?

Loading…
Cancel
Save