summaryrefslogtreecommitdiff
path: root/zebra/if_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/if_proc.c')
-rw-r--r--zebra/if_proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/if_proc.c b/zebra/if_proc.c
index 199a8e70..504d2f3c 100644
--- a/zebra/if_proc.c
+++ b/zebra/if_proc.c
@@ -242,6 +242,7 @@ ifaddr_proc_ipv6 ()
connected_add_ipv6 (ifp, &p.prefix, p.prefixlen, NULL);
}
+ fclose (fp);
return 0;
}
#endif /* HAVE_IPV6 && HAVE_PROC_NET_IF_INET6 */