summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-22 02:58:32 +0000
committerguenther <guenther@openbsd.org>2014-07-22 02:58:32 +0000
commitd077d9fd648bb254688f8cc5940a19b056cf6695 (patch)
tree414d2d0fc80004f2df2cb14039d76c11b54409a2
parentKill a bunch more BUF_strdup's - these are converted to have a check for (diff)
downloadwireguard-openbsd-d077d9fd648bb254688f8cc5940a19b056cf6695.tar.xz
wireguard-openbsd-d077d9fd648bb254688f8cc5940a19b056cf6695.zip
Correct the initializer for tunnconf_default_pptp
ok yasuoka@
-rw-r--r--usr.sbin/npppd/npppd/ppp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/npppd/npppd/ppp.c b/usr.sbin/npppd/npppd/ppp.c
index 10ec94123e7..b125861134b 100644
--- a/usr.sbin/npppd/npppd/ppp.c
+++ b/usr.sbin/npppd/npppd/ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp.c,v 1.21 2014/05/30 05:06:00 yasuoka Exp $ */
+/* $OpenBSD: ppp.c,v 1.22 2014/07/22 02:58:32 guenther 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: ppp.c,v 1.21 2014/05/30 05:06:00 yasuoka Exp $ */
+/* $Id: ppp.c,v 1.22 2014/07/22 02:58:32 guenther Exp $ */
/**@file
* This file provides PPP(Point-to-Point Protocol, RFC 1661) and
* {@link :: _npppd_ppp PPP instance} related functions.
@@ -1227,7 +1227,7 @@ struct tunnconf tunnconf_default_pptp = {
.hostname = NULL,
.vendor_name = NULL,
.listen = TAILQ_HEAD_INITIALIZER(
- tunnconf_default_l2tp.proto.l2tp.listen),
+ tunnconf_default_pptp.proto.pptp.listen),
/* .echo_interval, */
/* .echo_timeout, */
}