summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
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 faeb9e13e..086c0d345 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -807,11 +807,17 @@ main(int argc, char **argv)
807 IPv4or6 = AF_INET6; 807 IPv4or6 = AF_INET6;
808 break; 808 break;
809 case 'V': 809 case 'V':
810#ifdef USE_ROUTINGDOMAIN
810 scan_rdomain = a2rdomain(optarg); 811 scan_rdomain = a2rdomain(optarg);
811 if (scan_rdomain == -1) { 812 if (scan_rdomain == -1) {
812 fprintf(stderr, "Bad rdomain '%s'\n", optarg); 813 fprintf(stderr, "Bad rdomain '%s'\n", optarg);
813 exit(1); 814 exit(1);
814 } 815 }
816#else
817 fprintf(stderr, "RoutingDomain not supported on this "
818 "platform.\n");
819 exit(1);
820#endif
815 break; 821 break;
816 case '?': 822 case '?':
817 default: 823 default: