diff --git a/bin/resolve.py b/bin/resolve.py index b0f05c5..adeb3b7 100755 --- a/bin/resolve.py +++ b/bin/resolve.py @@ -58,7 +58,7 @@ def process_file(filepath: Path, community: str, name: str): # Шаблон для итоговой записи (f-string, поэтому {{ превращается в {) # target_format = f"route {{cidr}} blackhole {{ bgp_community.add((64888, {community})); }};" - target_format = "route {cidr} blackhole {{ bgp_community.add((64888, {community})); }};" + target_format = "route {cidr} via 10.16.1.8 {{ bgp_community.add((64888, {community})); }};" with open(filepath, 'r', encoding='utf-8') as f: for raw_line in f: