From 9639c3a4566ecd286fceb1b640fd339920bb3a21 Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 8 Jan 2010 08:53:52 +0000 Subject: - (dtucker) [configure.ac misc.c readconf.c servconf.c ssh-keyscan.c] Make RoutingDomain an unsupported option on platforms that don't have it. --- ssh-keyscan.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ssh-keyscan.c') diff --git a/ssh-keyscan.c b/ssh-keyscan.c index faeb9e13..086c0d34 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c @@ -807,11 +807,17 @@ main(int argc, char **argv) IPv4or6 = AF_INET6; break; case 'V': +#ifdef USE_ROUTINGDOMAIN scan_rdomain = a2rdomain(optarg); if (scan_rdomain == -1) { fprintf(stderr, "Bad rdomain '%s'\n", optarg); exit(1); } +#else + fprintf(stderr, "RoutingDomain not supported on this " + "platform.\n"); + exit(1); +#endif break; case '?': default: -- cgit v1.2.1