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

Fixes: 351c562491 ('devices: support VTI tunnels')
(cherry picked from commit 933e8ea11c)
This commit is contained in:
Beniamino Galvani 2023-02-27 13:38:13 +01:00
parent 8949dd8f3c
commit 56ec877f94

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();