Skip to content

Commit

Permalink
FRR BGP startup fix. Issue #11031
Browse files Browse the repository at this point in the history
  • Loading branch information
vktg committed Nov 4, 2020
1 parent 5c22cac commit df52ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion net/pfSense-pkg-frr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= pfSense-pkg-frr
PORTVERSION= 0.6.8
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
6 changes: 3 additions & 3 deletions net/pfSense-pkg-frr/files/usr/local/pkg/frr/inc/frr_bgp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
* limitations under the License.
*/

/* Supported address famililes constant */
define("FRR_BGP_ADDRESS_FAMILIES", array("ipv4 unicast", "ipv6 unicast"));

/* Fetch the list of BGP AS Paths for use in selection lists */
function frr_get_bgp_aspath_list() {
global $config;
Expand Down Expand Up @@ -914,9 +917,6 @@ function frr_bgp_generate_address_families() {
function frr_generate_config_bgp() {
global $config, $frr_config_base, $frr_integrated_config, $frr_bgp_config_address_family;

/* Supported address famililes constant */
define("FRR_BGP_ADDRESS_FAMILIES", array("ipv4 unicast", "ipv6 unicast"));

/* Make bgpd config */
if (is_array($config['installedpackages']['frr']['config'])) {
$frr_conf = &$config['installedpackages']['frr']['config'][0];
Expand Down

0 comments on commit df52ed6

Please sign in to comment.