diff options
author | Phil Blundell <philb@gnu.org> | 1998-12-01 20:48:41 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1998-12-01 20:48:41 +0000 |
commit | 2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a (patch) | |
tree | 1cfab8e89939b577f07528a56dbf5dcd341ccb65 /ifconfig.c | |
parent | 0f51321ffff135c327a3f663ef26d6c7f074c6e5 (diff) | |
download | net-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) || |