From 5697671c8cb6018de4e4307c459afd25d3b58410 Mon Sep 17 00:00:00 2001 From: François Cachereul Date: Tue, 27 Jan 2015 12:07:03 +0100 Subject: ppp: set unit_idx from NAS_Port attribute if present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Cachereul --- accel-pppd/session.c | 1 + 1 file changed, 1 insertion(+) (limited to 'accel-pppd/session.c') diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 12e4fc2..dd7ffd4 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -61,6 +61,7 @@ void __export ap_session_init(struct ap_session *ses) memset(ses, 0, sizeof(*ses)); INIT_LIST_HEAD(&ses->pd_list); ses->ifindex = -1; + ses->unit_idx = -1; } void __export ap_session_set_ifindex(struct ap_session *ses) -- cgit v1.2.3