summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zebra/ioctl_solaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/ioctl_solaris.c b/zebra/ioctl_solaris.c
index 82e39bea..aa2b9a4e 100644
--- a/zebra/ioctl_solaris.c
+++ b/zebra/ioctl_solaris.c
@@ -310,7 +310,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;