device: fix copy/paste error in nm-device-ip-tunnel.c
Fixes: 351c562491
('devices: support VTI tunnels')
This commit is contained in:
@@ -296,7 +296,7 @@ clear:
|
|||||||
if (lnk->ikey)
|
if (lnk->ikey)
|
||||||
input_key = g_strdup_printf("%u", lnk->ikey);
|
input_key = g_strdup_printf("%u", lnk->ikey);
|
||||||
if (lnk->okey)
|
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) {
|
} else if (priv->mode == NM_IP_TUNNEL_MODE_VTI6) {
|
||||||
const NMPlatformLnkVti6 *lnk;
|
const NMPlatformLnkVti6 *lnk;
|
||||||
|
|
||||||
@@ -313,7 +313,7 @@ clear:
|
|||||||
if (lnk->ikey)
|
if (lnk->ikey)
|
||||||
input_key = g_strdup_printf("%u", lnk->ikey);
|
input_key = g_strdup_printf("%u", lnk->ikey);
|
||||||
if (lnk->okey)
|
if (lnk->okey)
|
||||||
input_key = g_strdup_printf("%u", lnk->okey);
|
output_key = g_strdup_printf("%u", lnk->okey);
|
||||||
} else
|
} else
|
||||||
g_return_if_reached();
|
g_return_if_reached();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user