summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-13 13:14:22 -0400
committerGitHub <noreply@github.com>2018-05-13 13:14:22 -0400
commitc02bcc728b9ffde5b23a484399e4e64d86fdb32f (patch)
tree1b520e90efd35260c3e1609b016b5e2210d8d3fa
parent05859298a3979eaa1a802174128b3342be47c7b1 (diff)
parent45c0bedaa58beb31bda1aec31404bdf7e2d28e05 (diff)
Merge pull request #2225 from xdel/master
Fix compilation against rtrlib with ssh
-rw-r--r--bgpd/bgp_rpki.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index 75ba1609d0..a23d5d03c4 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -25,6 +25,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* If rtrlib compiled with ssh support, don`t fail build */
+#define LIBSSH_LEGACY_0_4
+
#include <zebra.h>
#include <pthread.h>
#include <time.h>