summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/netdev/l2tp-tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c
index dcb70bfef2..c38b9dc312 100644
--- a/src/network/netdev/l2tp-tunnel.c
+++ b/src/network/netdev/l2tp-tunnel.c
@@ -280,7 +280,7 @@ static int link_get_l2tp_local_address(Link *link, L2tpTunnel *t, union in_addr_
static int l2tp_get_local_address(NetDev *netdev, union in_addr_union *ret) {
Link *link = NULL;
L2tpTunnel *t;
- Address *a;
+ Address *a = NULL;
int r;
assert(netdev);