diff options
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r-- | ssh-keyscan.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 086c0d345..faeb9e13e 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -807,17 +807,11 @@ 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 | ||
811 | scan_rdomain = a2rdomain(optarg); | 810 | scan_rdomain = a2rdomain(optarg); |
812 | if (scan_rdomain == -1) { | 811 | if (scan_rdomain == -1) { |
813 | fprintf(stderr, "Bad rdomain '%s'\n", optarg); | 812 | fprintf(stderr, "Bad rdomain '%s'\n", optarg); |
814 | exit(1); | 813 | exit(1); |
815 | } | 814 | } |
816 | #else | ||
817 | fprintf(stderr, "RoutingDomain not supported on this " | ||
818 | "platform.\n"); | ||
819 | exit(1); | ||
820 | #endif | ||
821 | break; | 815 | break; |
822 | case '?': | 816 | case '?': |
823 | default: | 817 | default: |