mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
network: l2tp: initialize a to NULL
Fixes: CID#1475788
This commit is contained in:
parent
ef55efe823
commit
a4433b4532
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user