summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1999-07-28 21:53:34 +0000
committerPhil Blundell <philb@gnu.org>1999-07-28 21:53:34 +0000
commit0e3397e69ced9a1a2ac5c7e87b11ed119e1317b7 (patch)
tree9ecf33e359ca429f23b9ec50208ac4edf30a178c /include
parentbe0b8f0631c8a392ab30703bc09284ab65aa262b (diff)
downloadnet-tools-0e3397e69ced9a1a2ac5c7e87b11ed119e1317b7.tar.gz
net-tools-0e3397e69ced9a1a2ac5c7e87b11ed119e1317b7.tar.bz2
net-tools-0e3397e69ced9a1a2ac5c7e87b11ed119e1317b7.zip
Patch from Jeff Johnson <jbj@redhat.com> to fix `netstat -c'
fd leak.
Diffstat (limited to 'include')
-rw-r--r--include/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/interface.h b/include/interface.h
index 67076c6..133b7d6 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -65,6 +65,7 @@ struct interface {
extern int if_fetch(struct interface *ife);
extern int for_all_interfaces(int (*)(struct interface *, void *), void *);
+extern int free_interface_list(void);
extern struct interface *lookup_interface(char *name);
extern int if_readlist(void);