summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-tunnel.c')
-rw-r--r--src/network/networkd-netdev-tunnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index aef2ef4fef..8af4be4974 100644
--- a/src/network/networkd-netdev-tunnel.c
+++ b/src/network/networkd-netdev-tunnel.c
@@ -399,12 +399,12 @@ static void sit_init(NetDev *n) {
}
static void vti_init(NetDev *n) {
- Tunnel *t = VTI(n);
+ Tunnel *t;
assert(n);
if (n->kind == NETDEV_KIND_VTI)
- t = VTI(n);
+ t = VTI(n);
else
t = VTI6(n);