14587f6468
Mon Aug 25 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-20.1 -rebuilt Mon Aug 25 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-20 - interface option now works as described in the man page (#61113). Tue Aug 19 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-19.1 - rebuilt Tue Aug 19 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-19 - Fixed trailing blank bug in hostname output (#101263). - Remove -O2 fir alpha (#78955). - Updated netstat statistic output, was still broken. Tue Jun 17 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-18.1 - rebuilt Tue Jun 17 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-18 - fix ether-wake.c build with gcc 3.3 - rebuilt Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Jun 04 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-16.1 - Bumped release and rebuilt Fri May 23 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-16 - Fixed ether-wake usage output (#55801). Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 1.60-15 - fix build with gcc 3.3 Thu May 22 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-14 - Fixed wrong manpage (#55473). Wed May 21 2003 Phil Knirsch <pknirsch@redhat.com> - Added inet6-lookup patch from John van Krieken (#84108). - Fixed outdated link in ifconfig manpage (#91287). Tue May 20 2003 Phil Knirsch <pknirsch@redhat.com> - Fixed incorrect address display for ipx (#46434). - Fixed wrongly installed manpage dirs (#50664). Wed Mar 19 2003 Phil Knirsch <pknirsch@redhat.com> 1.60-13 - Fixed nameif problem (#85748).
27 lines
745 B
Diff
27 lines
745 B
Diff
--- net-tools-1.60/hostname.c.trailingblank 2001-04-08 19:04:23.000000000 +0200
|
|
+++ net-tools-1.60/hostname.c 2003-08-19 14:21:17.000000000 +0200
|
|
@@ -153,13 +153,19 @@
|
|
|
|
switch (c) {
|
|
case 'a':
|
|
- while (hp->h_aliases[0])
|
|
- printf("%s ", *hp->h_aliases++);
|
|
+ while (hp->h_aliases[0]) {
|
|
+ printf("%s", *hp->h_aliases++);
|
|
+ if (hp->h_aliases[0])
|
|
+ printf(" ");
|
|
+ }
|
|
printf("\n");
|
|
break;
|
|
case 'i':
|
|
- while (hp->h_addr_list[0])
|
|
- printf("%s ", inet_ntoa(*(struct in_addr *) *hp->h_addr_list++));
|
|
+ while (hp->h_addr_list[0]) {
|
|
+ printf("%s", inet_ntoa(*(struct in_addr *) *hp->h_addr_list++));
|
|
+ if (hp->h_addr_list[0])
|
|
+ printf(" ");
|
|
+ }
|
|
printf("\n");
|
|
break;
|
|
case 'd':
|