- (dtucker) [configure.ac misc.c readconf.c servconf.c ssh-keyscan.c] Make
RoutingDomain an unsupported option on platforms that don't have it.
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index faeb9e1..086c0d3 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -807,11 +807,17 @@
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: