summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/net.c b/accel-pppd/net.c
index 0fc6e354..671279cc 100644
--- a/accel-pppd/net.c
+++ b/accel-pppd/net.c
@@ -171,7 +171,7 @@ static int def_move_link(struct ap_net *new_net, int ifindex)
struct ifinfomsg i;
char buf[1024];
} req;
- struct rtnl_handle *rth = new_net->rtnl_get();
+ struct rtnl_handle *rth = net->rtnl_get();
struct kern_net *n = container_of(new_net, typeof(*n), net);
int r = 0;
@@ -196,7 +196,7 @@ static int def_move_link(struct ap_net *new_net, int ifindex)
//setns(def_ns_fd, CLONE_NEWNET);
- new_net->rtnl_put(rth);
+ net->rtnl_put(rth);
return r;
}