bgpd: fix rpki module build without ssh support

Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
This commit is contained in:
Marcel Röthke 2019-05-07 17:00:30 +02:00
parent 0e43d16b4c
commit fef6fafa90

View 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
}
}