From 7d7c3df38d482da450788e9688f50960d7944c14 Mon Sep 17 00:00:00 2001 From: Pavel Shamshin Date: Mon, 31 Aug 2026 15:47:21 +0300 Subject: [PATCH] bird template fix --- bin/resolve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: