aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1998-12-01 20:48:41 +0000
committerPhil Blundell <philb@gnu.org>1998-12-01 20:48:41 +0000
commit2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a (patch)
tree1cfab8e89939b577f07528a56dbf5dcd341ccb65 /ifconfig.c
parentdoh... (diff)
downloadnet-tools-2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a.tar.gz
net-tools-2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a.tar.bz2
net-tools-2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a.zip
Allow interface names to be 9 characters long rather than
just 8, to help people with lots (!!) of aliases.
Diffstat (limited to 'ifconfig.c')
-rw-r--r--ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifconfig.c b/ifconfig.c
index 82bbb72..5a60158 100644
--- a/ifconfig.c
+++ b/ifconfig.c
@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of
* one or more of the system's networking interfaces.
*
- * Version: $Id: ifconfig.c,v 1.22 1998/11/19 13:01:47 philip Exp $
+ * Version: $Id: ifconfig.c,v 1.23 1998/12/01 20:48:41 philip Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation
@@ -159,7 +159,7 @@ void ife_print(struct interface *ptr)
if (hw == NULL)
hw = get_hwntype(-1);
- printf(_("%-8.8s Link encap:%s "), ptr->name, hw->title);
+ printf(_("%-9.9s Link encap:%s "), ptr->name, hw->title);
/* Don't print the hardware address for ATM or Ash if it's null. */
if (hw->sprint != NULL && ((strncmp(ptr->name, "atm", 3) &&
strncmp(ptr->name, "ash", 3)) ||