2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

tun: Use shorter name for ifr_name

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2013-09-10 12:01:28 +04:00
parent 4aef183995
commit 37b94082c7

2
tun.c
View File

@@ -292,7 +292,7 @@ static int dump_tunfile(int lfd, u32 id, const struct fd_parms *p)
* tun device. Go agead an write the respective entry.
*/
} else {
tfe.netdev = ifr.ifr_ifrn.ifrn_name;
tfe.netdev = ifr.ifr_name;
pr_info("`- attached to device %s (flags %x)\n", tfe.netdev, ifr.ifr_flags);
if (ifr.ifr_flags & IFF_DETACH_QUEUE) {