]> andersk Git - openssh.git/blobdiff - readconf.c
- djm@cvs.openbsd.org 2010/01/09 00:20:26
[openssh.git] / readconf.c
index 2f1b0cd3bb59be4b1862d5100a64e2d428de9a36..47c77472a837458d322624697a4bc1aa1ff2080d 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.180 2009/12/25 19:40:21 stevesk Exp $ */
+/* $OpenBSD: readconf.c,v 1.181 2009/12/29 16:38:41 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -229,7 +229,11 @@ static struct {
        { "permitlocalcommand", oPermitLocalCommand },
        { "visualhostkey", oVisualHostKey },
        { "useroaming", oUseRoaming },
-       { "rdomain", oRDomain },
+#ifdef USE_ROUTINGDOMAIN
+       { "routingdomain", oRDomain },
+#else
+       { "routingdomain", oUnsupported },
+#endif
 #ifdef JPAKE
        { "zeroknowledgepasswordauthentication",
            oZeroKnowledgePasswordAuthentication },
@@ -920,6 +924,7 @@ parse_int:
                intptr = &options->use_roaming;
                goto parse_flag;
 
+#ifdef USE_ROUTINGDOMAIN
        case oRDomain:
                arg = strdelim(&s);
                if (!arg || *arg == '\0')
@@ -932,6 +937,7 @@ parse_int:
                if (*activep)
                        options->rdomain = value;
                break;
+#endif
 
        case oDeprecated:
                debug("%s line %d: Deprecated option \"%s\"",
This page took 0.311769 seconds and 4 git commands to generate.