summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Korolyov <andrey@xdel.ru>2018-05-13 13:36:50 +0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-16 07:49:52 -0400
commit0a3b6b3d5215cd6f062bcae0435cf0645b47b8c6 (patch)
treee86a36f01fe6d8f2f29ded4a2bccb09865fefeef
parenta93607b382ccf5f7dedfc45e732bb20e1002b89d (diff)
Fix compilation against rtrlib with ssh
Signed-off-by: Andrey Korolyov <andrey@xdel.ru>
-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>