From db4ff8d23afbde1d90622ea6af4ab942441f80fc Mon Sep 17 00:00:00 2001 From: Simeon Keske Date: Sun, 24 May 2020 13:23:19 +0200 Subject: [PATCH] add debug arguemtn to peers --- templates/bird2/peer.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/bird2/peer.conf.j2 b/templates/bird2/peer.conf.j2 index 3afe393..dc35226 100644 --- a/templates/bird2/peer.conf.j2 +++ b/templates/bird2/peer.conf.j2 @@ -8,5 +8,8 @@ protocol bgp {{ peer.name }} from dnpeers { protocol bgp {{ peer.name }}_v6 from dnpeers { # if you use link-local ipv6 addresses for peering using the following neighbor {{ peer.v6 }}%{{ peer.if.name | default('dn42_' + peer.name) }} as {{ peer.as }}; +{% if peer.debug is defined %} + debug {{ peer.debug }}; +{% endif %} }; {% endif %} \ No newline at end of file