From a853590d640d43c6948696c2d3b7ea560c851138 Mon Sep 17 00:00:00 2001 From: yasuoka Date: Wed, 22 Feb 2017 07:48:26 +0000 Subject: Delete lines which are misleading and unneeded. spotted patrick --- usr.sbin/npppd/npppd/npppd_auth.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.sbin/npppd') 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 #include #include @@ -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 = -- cgit v1.2.3-59-g8ed1b