mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
tun: Use shorter name for ifr_name
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
2
tun.c
2
tun.c
@@ -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) {
|
||||
|
Reference in New Issue
Block a user