1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

network: l2tp: initialize a to NULL

Fixes: CID#1475788
(cherry picked from commit a4433b4532)
This commit is contained in:
Shreenidhi Shedi 2022-06-12 23:36:37 +05:30 committed by Zbigniew Jędrzejewski-Szmek
parent 25158b2944
commit 4509a06382

View File

@ -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);