mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 08:56:13 +00:00
zebra/solaris: fix uninitialised vars
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 6d9362274e8ba2d57ffe17aa735eb941ac3d5fbc)
This commit is contained in:
parent
8f5e9238dd
commit
defe21c79f
@ -309,7 +309,7 @@ if_get_flags_direct (const char *ifname, uint64_t *flags, unsigned int af)
|
||||
void
|
||||
if_get_flags (struct interface *ifp)
|
||||
{
|
||||
int ret4, ret6;
|
||||
int ret4 = 0, ret6 = 0;
|
||||
uint64_t newflags = 0;
|
||||
uint64_t tmpflags;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user