diff options
Diffstat (limited to 'accel-pppd/session.c')
-rw-r--r-- | accel-pppd/session.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 78d12f95..63c9c11b 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -24,6 +24,7 @@ #include "iputils.h" #include "spinlock.h" #include "mempool.h" +#include "config.h" #include "memdebug.h" #define SID_SOURCE_SEQ 0 @@ -240,6 +241,11 @@ void __export ap_session_finished(struct ap_session *ses) ses->ifname_rename = NULL; } +#ifdef HAVE_VRF + if (ses->vrf_name) + ap_session_vrf(ses, NULL, 0); +#endif + if (ses->net) ses->net->release(ses->net); |