summaryrefslogtreecommitdiff
path: root/accel-pppd/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/net.c')
-rw-r--r--accel-pppd/net.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/accel-pppd/net.c b/accel-pppd/net.c
index 671279c..43b4e6e 100644
--- a/accel-pppd/net.c
+++ b/accel-pppd/net.c
@@ -188,14 +188,9 @@ static int def_move_link(struct ap_net *new_net, int ifindex)
addattr_l(&req.n, 4096, IFLA_NET_NS_FD, &n->ns_fd, sizeof(n->ns_fd));
- //if (setns(n->ns_fd, CLONE_NEWNET))
- //perror("setns");
-
if (rtnl_talk(rth, &req.n, 0, 0, NULL, NULL, NULL, 0) < 0)
r = -1;
- //setns(def_ns_fd, CLONE_NEWNET);
-
net->rtnl_put(rth);
return r;