summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppd/npppd/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/npppd/npppd/parse.y')
-rw-r--r--usr.sbin/npppd/npppd/parse.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/npppd/npppd/parse.y b/usr.sbin/npppd/npppd/parse.y
index 6b4c1291396..2872c71f3b0 100644
--- a/usr.sbin/npppd/npppd/parse.y
+++ b/usr.sbin/npppd/npppd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.18 2017/08/11 16:41:47 goda Exp $ */
+/* $OpenBSD: parse.y,v 1.19 2017/08/12 11:20:34 goda Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -839,6 +839,9 @@ ipcpopt : POOL_ADDRESS STRING ipcppooltype {
| ALLOW_USER_SELECTED_ADDRESS yesno {
curr_ipcpconf->allow_user_select = $2;
}
+ | MAX_SESSION NUMBER {
+ curr_ipcpconf->max_session = $2;
+ }
;
ipcppooltype : /* empty */ { $$ = 0; }