From 85f40b884a5a6123e764f97fd7619cc66a078b70 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 29 Apr 2022 10:54:36 +0200 Subject: [PATCH] net/frr: (BGP) according to the FRR documentation and the ui validations, match is optional (https://docs.frrouting.org/en/latest/routemap.html#term-Matching-Conditions). Likely fixes https://github.com/opnsense/plugins/issues/2955 (#2965) --- .../src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/frr/src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf b/net/frr/src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf index 499ffe8e1..de3d7b4c2 100644 --- a/net/frr/src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf +++ b/net/frr/src/opnsense/service/templates/OPNsense/Quagga/bgpd.conf @@ -183,7 +183,7 @@ route-map {{ routemap.name }} {{ routemap.action }} {{ routemap.id }} {% endif %} {% endfor %} {% endif %} -{% if routemap.set|default("") != '' and routemap.match|default("") != '' %} +{% if routemap.set|default("") != '' %} set {{ routemap.set }} {% endif %} {% if routemap.match2|default("") != "" %}