diff options
author | Klaas Freitag <freitag@suse.de> | 1999-12-11 13:35:53 +0000 |
---|---|---|
committer | Klaas Freitag <freitag@suse.de> | 1999-12-11 13:35:53 +0000 |
commit | 11e66d4103f90b958c8dee4c8de522aff12ac21c (patch) | |
tree | cc7d339357462b6892bcc74e1c1f4abe6588c61f /include | |
parent | c7f5d607e2b88e38fd1cacefbadcb96d8408b13b (diff) | |
download | net-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.h | 2 |
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); |