diff options
-rw-r--r-- | accel-pppd/ppp/ppp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c index 0606f3f..49b53b1 100644 --- a/accel-pppd/ppp/ppp.c +++ b/accel-pppd/ppp/ppp.c @@ -280,6 +280,7 @@ static void destablish_ppp(struct ppp_t *ppp) } ppp->ses.net = def_net; net = def_net; + ppp->ses.ifindex = net->get_ifindex(ppp->ses.ifname); } sprintf(ifr.ifr_newname, "ppp%i", ppp->ses.unit_idx); |