mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
device: fix copy/paste error in nm-device-ip-tunnel.c
Fixes: 351c562491
('devices: support VTI tunnels')
This commit is contained in:
parent
5f352df1c3
commit
933e8ea11c
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue