net-tools/net-tools-1.60-virtualname.patch

25 lines
978 B
Diff
Raw Normal View History

diff -uNr net-tools-1.60/lib/interface.c net-tools-1.60-2/lib/interface.c
--- net-tools-1.60/lib/interface.c Sat Feb 10 14:31:15 2001
+++ net-tools-1.60-2/lib/interface.c Thu Jul 18 13:15:37 2002
@@ -579,7 +579,7 @@
void ife_print_short(struct interface *ptr)
{
- printf("%-5.5s ", ptr->name);
+ printf("%-9.8s ", ptr->name);
printf("%5d %3d", ptr->mtu, ptr->metric);
/* If needed, display the interface statistics. */
if (ptr->statistics_valid) {
diff -uNr net-tools-1.60/netstat.c net-tools-1.60-2/netstat.c
--- net-tools-1.60/netstat.c Sun Apr 15 10:41:17 2001
+++ net-tools-1.60-2/netstat.c Thu Jul 18 12:48:33 2002
@@ -1449,7 +1449,7 @@
}
if (flag_exp < 2) {
ife_short = 1;
- printf(_("Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg\n"));
+ printf(_("Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg\n"));
}
if (for_all_interfaces(do_if_print, &flag_all) < 0) {