This commit is contained in:
ed 2024-11-22 22:26:34 +00:00
parent 0c43b592dc
commit fae40c7e2f
2 changed files with 12 additions and 4 deletions

View file

@ -2716,9 +2716,17 @@ def build_netmap(csv: str, defer_mutex: bool = False):
if shorthand in srcs:
if not expanded_shorthands:
srcs += [
"10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "fd00::/8", # lan
"169.254.0.0/16", "fe80::/10", # link-local
"127.0.0.0/8, ::1/128", # loopback
# lan:
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16",
"fd00::/8",
# link-local:
"169.254.0.0/16",
"fe80::/10",
# loopback:
"127.0.0.0/8",
"::1/128",
]
expanded_shorthands = True