From 5b6c0d73ccaf211ce1d292283dfe1059882e8f11 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Wed, 28 Apr 2021 05:25:12 +0100 Subject: [PATCH] fix community_affects_* community-list to have the right community number --- vyos.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyos.conf.j2 b/vyos.conf.j2 index 15538fe..6173764 100644 --- a/vyos.conf.j2 +++ b/vyos.conf.j2 @@ -1365,7 +1365,7 @@ policy { {% for site_code in ['00'] + pillar['site_codes'] %} rule {{ loop.index }} { action 'permit' - regex 65{{ site_code }}0:{{ community_suffix }} + regex 65{{ site_code }}{{ digit }}:{{ community_suffix }} } {% endfor %} }