summaryrefslogtreecommitdiff
path: root/zebra/rtread_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rtread_proc.c')
-rw-r--r--zebra/rtread_proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rtread_proc.c b/zebra/rtread_proc.c
index 6e021c32..491fc987 100644
--- a/zebra/rtread_proc.c
+++ b/zebra/rtread_proc.c
@@ -96,6 +96,7 @@ proc_route_read ()
rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0, 0, 0);
}
+ fclose (fp);
return 0;
}
@@ -155,6 +156,7 @@ proc_ipv6_route_read ()
rib_add_ipv6 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0);
}
+ fclose (fp);
return 0;
}
#endif /* HAVE_IPV6 */