summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@suse.de>1999-12-11 13:35:53 +0000
committerKlaas Freitag <freitag@suse.de>1999-12-11 13:35:53 +0000
commit11e66d4103f90b958c8dee4c8de522aff12ac21c (patch)
treecc7d339357462b6892bcc74e1c1f4abe6588c61f /include
parentc7f5d607e2b88e38fd1cacefbadcb96d8408b13b (diff)
downloadnet-tools-11e66d4103f90b958c8dee4c8de522aff12ac21c.tar.gz
net-tools-11e66d4103f90b958c8dee4c8de522aff12ac21c.tar.bz2
net-tools-11e66d4103f90b958c8dee4c8de522aff12ac21c.zip
Some patches from Kurt Garloff to handle /etc/networks correctly
Make ifconfig more forgiving when /proc is not mounted Avoid endless recursion when /proc/net/dev is empty :-)
Diffstat (limited to 'include')
-rw-r--r--include/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/interface.h b/include/interface.h
index 133b7d6..8894fca 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -66,7 +66,7 @@ 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 struct interface *lookup_interface(char *name, int readlist);
extern int if_readlist(void);
extern int do_if_fetch(struct interface *ife);