summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authordtucker <dtucker>2010-01-08 08:53:52 +0000
committerdtucker <dtucker>2010-01-08 08:53:52 +0000
commit9639c3a4566ecd286fceb1b640fd339920bb3a21 (patch)
tree0feeba3fe3619e07bb5a7371730e57960ba27a04 /ssh-keyscan.c
parent4399fdc1060eab06c3808f3e56435f5e7ff81964 (diff)
downloadopenssh-9639c3a4566ecd286fceb1b640fd339920bb3a21.tar.gz
- (dtucker) [configure.ac misc.c readconf.c servconf.c ssh-keyscan.c] Make
RoutingDomain an unsupported option on platforms that don't have it.
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c6
1 files changed, 6 insertions, 0 deletions
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: