Group :: Sistema/Configurações/Rede
RPM: net-tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: net-tools-1.60-alt-outformat.patch
Download
Download
--- net-tools-1.60/lib/interface.c.orig 2004-03-12 17:18:20 +0300
+++ net-tools-1.60/lib/interface.c 2004-03-12 17:18:50 +0300
@@ -618,7 +618,7 @@ int do_if_print(struct interface *ife, v
void ife_print_short(struct interface *ptr)
{
- printf("%-9.9s ", ptr->name);
+ printf("%-9s ", ptr->name);
printf("%5d %3d ", ptr->mtu, ptr->metric);
/* If needed, display the interface statistics. */
if (ptr->statistics_valid) {
@@ -709,7 +709,7 @@ void ife_print_long(struct interface *pt
if (hw == NULL)
hw = get_hwntype(-1);
- printf(_("%-9.9s Link encap:%s "), ptr->name, hw->title);
+ printf(_("%-9s Link encap:%s "), ptr->name, hw->title);
/* For some hardware types (eg Ash, ATM) we don't print the
hardware address if it's null. */
if (hw->print != NULL && (! (hw_null_address(hw, ptr->hwaddr) &&