summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2013-04-16 07:29:08 +0000
committeryasuoka <yasuoka@openbsd.org>2013-04-16 07:29:08 +0000
commitbc1389e9befbff82887eac05de0212e848893896 (patch)
treeee7bab0e841dafb15c65f44ab7c2d2ba99e7db19
parentpppoed didn't work since it has been broken after the last (diff)
downloadwireguard-openbsd-bc1389e9befbff82887eac05de0212e848893896.tar.xz
wireguard-openbsd-bc1389e9befbff82887eac05de0212e848893896.zip
Configuration option `strip-nt-domain' and `strip-atmark-realm' didn't
work since the parser mistakenly treated them as `eap-capable' option. Pointed out by markus
-rw-r--r--usr.sbin/npppd/npppd/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/npppd/npppd/parse.y b/usr.sbin/npppd/npppd/parse.y
index 333ad132f83..b95a6d2a1a5 100644
--- a/usr.sbin/npppd/npppd/parse.y
+++ b/usr.sbin/npppd/npppd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.5 2013/02/08 11:06:26 yasuoka Exp $ */
+/* $OpenBSD: parse.y,v 1.6 2013/04/16 07:29:08 yasuoka Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -611,10 +611,10 @@ authopt : USERNAME_SUFFIX STRING {
curr_authconf->eap_capable = $2;
}
| STRIP_NT_DOMAIN yesno {
- curr_authconf->eap_capable = $2;
+ curr_authconf->strip_nt_domain = $2;
}
| STRIP_ATMARK_REALM yesno {
- curr_authconf->eap_capable = $2;
+ curr_authconf->strip_atmark_realm = $2;
}
| USERS_FILE STRING {
strlcpy(curr_authconf->users_file_path, $2,