summaryrefslogtreecommitdiff
path: root/zebra/ipforward_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/ipforward_proc.c')
-rw-r--r--zebra/ipforward_proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/ipforward_proc.c b/zebra/ipforward_proc.c
index 443cb1c6..f83d88c3 100644
--- a/zebra/ipforward_proc.c
+++ b/zebra/ipforward_proc.c
@@ -141,6 +141,7 @@ ipforward_ipv6 ()
fgets (buf, 2, fp);
sscanf (buf, "%d", &ipforwarding);
+ fclose (fp);
return ipforwarding;
}