diff options
author | yasuoka <yasuoka@openbsd.org> | 2017-02-22 07:48:26 +0000 |
---|---|---|
committer | yasuoka <yasuoka@openbsd.org> | 2017-02-22 07:48:26 +0000 |
commit | a853590d640d43c6948696c2d3b7ea560c851138 (patch) | |
tree | f30b2dd5856905a69225a8d2fdc686e6a7a76f6a /usr.sbin/npppd | |
parent | Set sc_vendor in bcm2835_dwctwo before calling dwc2_init(). (diff) | |
download | wireguard-openbsd-a853590d640d43c6948696c2d3b7ea560c851138.tar.xz wireguard-openbsd-a853590d640d43c6948696c2d3b7ea560c851138.zip |
Delete lines which are misleading and unneeded.
spotted patrick
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r-- | usr.sbin/npppd/npppd/npppd_auth.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/npppd/npppd/npppd_auth.c b/usr.sbin/npppd/npppd/npppd_auth.c index 101f8cc9a7f..4ba3f0e8f7a 100644 --- a/usr.sbin/npppd/npppd/npppd_auth.c +++ b/usr.sbin/npppd/npppd/npppd_auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npppd_auth.c,v 1.18 2016/03/08 02:05:00 yasuoka Exp $ */ +/* $OpenBSD: npppd_auth.c,v 1.19 2017/02/22 07:48:26 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ /**@file authentication realm */ -/* $Id: npppd_auth.c,v 1.18 2016/03/08 02:05:00 yasuoka Exp $ */ +/* $Id: npppd_auth.c,v 1.19 2017/02/22 07:48:26 yasuoka Exp $ */ #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> @@ -75,8 +75,6 @@ npppd_auth_create(int auth_type, const char *name, void *_npppd) case NPPPD_AUTH_TYPE_LOCAL: if ((base = calloc(1, sizeof(npppd_auth_local))) != NULL) { base->type = NPPPD_AUTH_TYPE_LOCAL; - base->strip_nt_domain = 1; - base->strip_atmark_realm = 0; strlcpy(base->name, name, sizeof(base->name)); base->npppd = _npppd; @@ -89,7 +87,6 @@ npppd_auth_create(int auth_type, const char *name, void *_npppd) if ((base = calloc(1, sizeof(npppd_auth_radius))) != NULL) { npppd_auth_radius *_this = (npppd_auth_radius *)base; base->type = NPPPD_AUTH_TYPE_RADIUS; - base->strip_nt_domain = 0; strlcpy(base->name, name, sizeof(base->name)); base->npppd = _npppd; if ((_this->rad_auth_setting = |