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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/if_proc.c b/zebra/if_proc.c
index 117859fd..6c47d430 100644
--- a/zebra/if_proc.c
+++ b/zebra/if_proc.c
@@ -161,7 +161,7 @@ ifstat_update_proc ()
ifp = if_get_by_name (name);
ifstat_dev_fields (version, stat, ifp);
}
-
+ fclose(fp);
return 0;
}
@@ -195,6 +195,7 @@ interface_list_proc ()
ifp = if_get_by_name (name);
if_add_update (ifp);
}
+ fclose(fp);
return 0;
}