diff options
Diffstat (limited to 'accel-pppd/ifcfg.c')
-rw-r--r-- | accel-pppd/ifcfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ifcfg.c b/accel-pppd/ifcfg.c index fbd11bf5..d9395478 100644 --- a/accel-pppd/ifcfg.c +++ b/accel-pppd/ifcfg.c @@ -319,6 +319,9 @@ int __export ap_session_rename(struct ap_session *ses, const char *ifname, int l } ses->net = ns; net = ns; + + /* Refresh the index now that it is in a new namespace */ + ses->ifindex = net->get_ifindex(ses->ifname); log_ppp_info2("move to namespace %s\n", ns->name); } |