aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-05-27 17:36:16 +0000
committerPhil Blundell <philb@gnu.org>2000-05-27 17:36:16 +0000
commitff42d595ccb7442d369c07b2bb3198e1a405f4ed (patch)
treec2df39678487d18fcda3b2cb9adabc1987e89eff /lib/econet.c
parentMake `route -A inet6 add default ...' work. (diff)
downloadnet-tools-ff42d595ccb7442d369c07b2bb3198e1a405f4ed.tar.gz
net-tools-ff42d595ccb7442d369c07b2bb3198e1a405f4ed.tar.bz2
net-tools-ff42d595ccb7442d369c07b2bb3198e1a405f4ed.zip
Check /proc before opening ECONET sockets.
Try to fix the problem with alias interfaces and non INET sockets.
Diffstat (limited to 'lib/econet.c')
-rw-r--r--lib/econet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/econet.c b/lib/econet.c
index ed6695a..1229a28 100644
--- a/lib/econet.c
+++ b/lib/econet.c
@@ -3,7 +3,7 @@
* support functions for the net-tools.
* (NET-3 base distribution).
*
- * Version: $Id: econet.c,v 1.10 2000/05/20 13:38:10 pb Exp $
+ * Version: $Id: econet.c,v 1.11 2000/05/27 17:36:16 pb Exp $
*
* Author: Philip Blundell <philb@gnu.org>
*
@@ -80,7 +80,7 @@ struct aftype ec_aftype =
ec_print, ec_sprint, ec_input, NULL,
NULL, NULL, NULL,
-1,
- NULL /*"/proc/sys/net/econet"*/
+ "/proc/sys/net/econet"
};
#endif /* HAVE_AFECONET */