net-tools/net-tools-1.60-trim_iface.patch

13 lines
553 B
Diff
Raw Normal View History

2011-12-06 18:15:09 +00:00
diff -up net-tools-1.60/lib/interface.c.trim-iface net-tools-1.60/lib/interface.c
2011-12-07 16:43:22 +00:00
--- net-tools-1.60/lib/interface.c.trim-iface 2011-12-07 16:17:16.000000000 +0100
+++ net-tools-1.60/lib/interface.c 2011-12-07 16:17:37.137281523 +0100
2011-12-06 18:15:09 +00:00
@@ -638,7 +638,7 @@ int do_if_print(struct interface *ife, v
void ife_print_short(struct interface *ptr)
{
2011-12-07 16:43:22 +00:00
- printf("%-5.5s ", ptr->name);
+ printf("%-5s ", ptr->name);
printf("%5d %-2d ", ptr->mtu, ptr->metric);
/* If needed, display the interface statistics. */
if (ptr->statistics_valid) {