Package: wget
Version: 1.12-2.1
Severity: minor

Hi.

I do not what benefits this brings but wget apperantly only shows only first
3 addresses of given hostname.

# host www.debian.org
www.debian.org has address 82.195.75.97
www.debian.org has address 86.59.118.148
www.debian.org has IPv6 address 2001:41b8:202:deb:216:35ff:fec4:6340
www.debian.org has IPv6 address 2001:858:2:2:214:22ff:fe0d:7717

# wget http://www.debian.org/
--2011-02-08 16:06:27--  http://www.debian.org/
Resolving www.debian.org... 2001:858:2:2:214:22ff:fe0d:7717,
2001:41b8:202:deb:216:35ff:fec4:6340, 82.195.75.97, ...
Connecting to www.debian.org|2001:858:2:2:214:22ff:fe0d:7717|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14273 (14K) [text/html]
Saving to: `index.html.1'

100%[==================================================================================================>]
14,273      34.0K/s   in 0.4s

2011-02-08 16:06:27 (34.0 KB/s) - `index.html.1' saved [14273/14273]

#


(but as you can see it actually shows ", ...", indiciateing there are some more
ip addresses).


Becasue if host two IP address, it will pring something like:
....
Resolving he.net... 2001:470:0:76::2, 216.218.186.2
....

With no ", ...".


I do not see why it print only 3. More than 3 are rearly seen.
More often in case of IPv6 there would be 2 or 4 actually.
Also even there is more, then this will be extreamly reare, and why not just be
correct and display all for user information.

This can happen confusing to user if for example reconnection will take place.

Or when wget will be restarted again, now showing something different

....
Resolving www.debian.org... 2001:858:2:2:214:22ff:fe0d:7717,
2001:41b8:202:deb:216:35ff:fec4:6340, 86.59.118.148, ...
....
compared to previous

....
Resolving www.debian.org... 2001:858:2:2:214:22ff:fe0d:7717,
2001:41b8:202:deb:216:35ff:fec4:6340, 82.195.75.97, ...
....

(this all is correct, but not very clear).


Why bother with limits, and possibility of some bugs in more complex code :)


Regards,
Witek



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wget depends on:
ii  dpkg                      1.15.8.10      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libssl0.9.8               0.9.8o-4       SSL shared libraries

wget recommends no packages.

wget suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to