Merge pull request #7389 from donaldsharp/no_bfdd

bgpd: Fix profiles compile issue when not using bfdd
This commit is contained in:
Donatas Abraitis 2020-10-27 11:35:21 +02:00 committed by GitHub
commit 1b21d87596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -598,6 +598,7 @@ static int bgp_bfd_peer_param_type_set(struct peer *peer,
return 0;
}
#if HAVE_BFDD > 0
/**
* Set peer BFD profile configuration.
*/
@ -652,6 +653,7 @@ static int bgp_bfd_peer_set_profile(struct peer *peer, const char *profile)
return 0;
}
#endif
/*
* bgp_bfd_peer_config_write - Write the peer BFD configuration.