summaryrefslogtreecommitdiffstats
path: root/proxy/src
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src')
-rw-r--r--proxy/src/mechglue/gss_plugin.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/proxy/src/mechglue/gss_plugin.c b/proxy/src/mechglue/gss_plugin.c
index aac213e..0e62990 100644
--- a/proxy/src/mechglue/gss_plugin.c
+++ b/proxy/src/mechglue/gss_plugin.c
@@ -75,12 +75,13 @@ enum gpp_behavior gpp_get_behavior(void)
} else if (strcmp(envval, "REMOTE_ONLY") == 0) {
behavior = GPP_REMOTE_ONLY;
} else {
- /* unknwon setting, default to local first */
- behavior = GPP_LOCAL_FIRST;
+ /* unknown setting, default to what has been configured
+ * (by default local first) */
+ behavior = GPP_DEFAULT_BEHAVIOR;
}
} else {
- /* default to local only for now */
- behavior = GPP_LOCAL_FIRST;
+ /* default to what has been configured (by default local only) */
+ behavior = GPP_DEFAULT_BEHAVIOR;
}
}