]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: fix rpki module build without ssh support
authorMarcel Röthke <marcel.roethke@haw-hamburg.de>
Tue, 7 May 2019 15:00:30 +0000 (17:00 +0200)
committerMarcel Röthke <marcel.roethke@haw-hamburg.de>
Tue, 7 May 2019 15:02:01 +0000 (17:02 +0200)
Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
bgpd/bgp_rpki.c

index 32368a8efd22eb5909d78f1110d2e77fc18d0d40..010322233d98eb15f67985d56b1747359712e39a 100644 (file)
@@ -1253,6 +1253,7 @@ DEFUN (show_rpki_cache_server,
                                cache->tr_config.tcp_config->host,
                                cache->tr_config.tcp_config->port);
 
+#if defined(FOUND_SSH)
                } else if (cache->type == SSH) {
                        vty_out(vty,
                                "host: %s port: %d username: %s "
@@ -1264,6 +1265,7 @@ DEFUN (show_rpki_cache_server,
                                        ->server_hostkey_path,
                                cache->tr_config.ssh_config
                                        ->client_privkey_path);
+#endif
                }
        }