diff options
author | 2013-04-16 07:31:20 +0000 | |
---|---|---|
committer | 2013-04-16 07:31:20 +0000 | |
commit | 21cbc4229e0989d922d881b3a651eef389f05ea1 (patch) | |
tree | bde8aeaa6f5587bc32581e35ba5c005bc3d42ffa | |
parent | Configuration option `strip-nt-domain' and `strip-atmark-realm' didn't (diff) | |
download | wireguard-openbsd-21cbc4229e0989d922d881b3a651eef389f05ea1.tar.xz wireguard-openbsd-21cbc4229e0989d922d881b3a651eef389f05ea1.zip |
Existing authentication realms are removed mistakenly when
the configuration is reloaded.
-rw-r--r-- | usr.sbin/npppd/npppd/npppd_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/npppd/npppd/npppd_config.c b/usr.sbin/npppd/npppd/npppd_config.c index 10cae9454e7..fa506471ab0 100644 --- a/usr.sbin/npppd/npppd/npppd_config.c +++ b/usr.sbin/npppd/npppd/npppd_config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npppd_config.c,v 1.9 2012/09/18 13:14:08 yasuoka Exp $ */ +/* $OpenBSD: npppd_config.c,v 1.10 2013/04/16 07:31:20 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $Id: npppd_config.c,v 1.9 2012/09/18 13:14:08 yasuoka Exp $ */ +/* $Id: npppd_config.c,v 1.10 2013/04/16 07:31:20 yasuoka Exp $ */ /*@file * This file provides functions which operates configuration and so on. */ @@ -267,8 +267,8 @@ npppd_auth_realm_reload(npppd *_this) "failed in %s(): %m", __func__); goto fail; } - slist_add(&nrealms, auth_base); } + slist_add(&nrealms, auth_base); } if (slist_set_size(&_this->realms, slist_length(&nrealms)) != 0) { log_printf(LOG_WARNING, "slist_set_size() failed in %s(): %m", |