From 2010802ef5d259d0702d424bcb9f9404790af8a0 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Sun, 3 Jan 2021 19:25:24 +0000 Subject: [PATCH] don't send /64 to upstream --- vyos.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyos.conf.j2 b/vyos.conf.j2 index 0959334..eaa6f9e 100644 --- a/vyos.conf.j2 +++ b/vyos.conf.j2 @@ -1359,7 +1359,7 @@ policy { {% for prefix_list_name, prefix_data in salt['pillar.get']("policy:prefix-list",{}).items() %} prefix-list6 {{ prefix_list_name }} { {% if 'bgpq3' in prefix_data %} - {% set jsonblob = salt['cmd.run']('/tmp/bgpq3 -m 64 -R 64 -A -6 -j ' + prefix_data["bgpq3"]["IPv6"], env={'BIND_ADDR':pillar['loopback']['IPv4'], 'BIND_ADDR6':pillar['loopback']['IPv6'], 'LD_PRELOAD':'/tmp/bind.so'})|load_json %} + {% set jsonblob = salt['cmd.run']('/tmp/bgpq3 -m 64 -A -6 -j ' + prefix_data["bgpq3"]["IPv6"], env={'BIND_ADDR':pillar['loopback']['IPv4'], 'BIND_ADDR6':pillar['loopback']['IPv6'], 'LD_PRELOAD':'/tmp/bind.so'})|load_json %} {% for prefix in jsonblob.NN %} rule {{ loop.index }} { action permit