From 933e8ea11c8a23d478c20b0a940d8911e35a7368 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 27 Feb 2023 13:38:13 +0100 Subject: [PATCH] device: fix copy/paste error in nm-device-ip-tunnel.c Fixes: 351c56249157 ('devices: support VTI tunnels') --- src/core/devices/nm-device-ip-tunnel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/devices/nm-device-ip-tunnel.c b/src/core/devices/nm-device-ip-tunnel.c index 5e5ba63243..a5760bf40e 100644 --- a/src/core/devices/nm-device-ip-tunnel.c +++ b/src/core/devices/nm-device-ip-tunnel.c @@ -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();