]> andersk Git - openssh.git/blobdiff - servconf.c
- dtucker@cvs.openbsd.org 2010/01/08 21:50:49
[openssh.git] / servconf.c
index 8b8518aa80443863bc4884b774b923be50df047f..9ad08ce870dbe17f86dffb8e971f78bb997ba1a7 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.c,v 1.198 2009/12/25 19:40:21 stevesk Exp $ */
+/* $OpenBSD: servconf.c,v 1.199 2009/12/29 16:38:41 stevesk Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
@@ -424,7 +424,11 @@ static struct {
        { "match", sMatch, SSHCFG_ALL },
        { "permitopen", sPermitOpen, SSHCFG_ALL },
        { "forcecommand", sForceCommand, SSHCFG_ALL },
-       { "rdomain", sRDomain, SSHCFG_GLOBAL },
+#ifdef USE_ROUTINGDOMAIN
+       { "routingdomain", sRDomain, SSHCFG_GLOBAL },
+#else
+       { "routingdomain", sUnsupported, SSHCFG_GLOBAL },
+#endif
        { "chrootdirectory", sChrootDirectory, SSHCFG_ALL },
        { NULL, sBadOption, 0 }
 };
@@ -1296,6 +1300,7 @@ process_server_config_line(ServerOptions *options, char *line,
                        *charptr = xstrdup(arg);
                break;
 
+#ifdef USE_ROUTINGDOMAIN
        case sRDomain:
                intptr = &options->rdomain;
                arg = strdelim(&cp);
@@ -1308,6 +1313,7 @@ process_server_config_line(ServerOptions *options, char *line,
                if (*intptr == -1)
                        *intptr = value;
                break;
+#endif
 
        case sDeprecated:
                logit("%s line %d: Deprecated option %s",
This page took 0.070972 seconds and 4 git commands to generate.