device: fix copy/paste error in nm-device-ip-tunnel.c

Fixes: 351c562491 ('devices: support VTI tunnels')
This commit is contained in:
Beniamino Galvani 2023-02-27 13:38:13 +01:00
parent 5f352df1c3
commit 933e8ea11c

View file

@ -296,7 +296,7 @@ clear:
if (lnk->ikey)
input_key = g_strdup_printf("%u", lnk->ikey);
if (lnk->okey)
input_key = g_strdup_printf("%u", lnk->okey);
output_key = g_strdup_printf("%u", lnk->okey);
} else if (priv->mode == NM_IP_TUNNEL_MODE_VTI6) {
const NMPlatformLnkVti6 *lnk;
@ -313,7 +313,7 @@ clear:
if (lnk->ikey)
input_key = g_strdup_printf("%u", lnk->ikey);
if (lnk->okey)
input_key = g_strdup_printf("%u", lnk->okey);
output_key = g_strdup_printf("%u", lnk->okey);
} else
g_return_if_reached();