diff options
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system-dummy.c b/system-dummy.c index 2669a34..ab1a1b2 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -54,9 +54,9 @@ int system_bridge_delif(struct device *bridge, struct device *dev) return 0; } -int system_link_netns_move(const char *ifname, int netns_fd, const char *target_ifname) +int system_link_netns_move(struct device *dev, int netns_fd, const char *target_ifname) { - D(SYSTEM, "ip link dev %s name %s netns %d\n", ifname, target_ifname, netns_fd); + D(SYSTEM, "ip link set %s name %s netns %d\n", dev->ifname, target_ifname, netns_fd); return 0; } |