summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd/pptp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/npppd/pptp')
-rw-r--r--usr.sbin/npppd/pptp/pptp_call.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/npppd/pptp/pptp_call.c b/usr.sbin/npppd/pptp/pptp_call.c
index cbf04fb0573..4d0c3d0a7c4 100644
--- a/usr.sbin/npppd/pptp/pptp_call.c
+++ b/usr.sbin/npppd/pptp/pptp_call.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pptp_call.c,v 1.8 2015/01/19 01:48:59 deraadt Exp $ */
+/* $OpenBSD: pptp_call.c,v 1.9 2015/12/05 16:10:31 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: pptp_call.c,v 1.8 2015/01/19 01:48:59 deraadt Exp $ */
+/* $Id: pptp_call.c,v 1.9 2015/12/05 16:10:31 yasuoka Exp $ */
/**@file PPTP Call */
/* currently it supports PAC mode only */
#include <sys/types.h>
@@ -744,6 +744,7 @@ pptp_call_bind_ppp(pptp_call *_this)
ppp->phy_context = _this;
ppp->tunnel_type = NPPPD_TUNNEL_PPTP;
+ ppp->tunnel_session_id = _this->id;
ppp->send_packet = pptp_call_ppp_output;
ppp->phy_close = pptp_call_closed_by_ppp;