Hello community, here is the log from the commit of package net-tools checked in at Mon Nov 24 16:14:48 CET 2008. -------- --- net-tools/net-tools.changes 2008-11-06 17:10:49.000000000 +0100 +++ /mounts/work_src_done/STABLE/net-tools/net-tools.changes 2008-11-24 14:54:42.168216000 +0100 @@ -1,0 +2,5 @@ +Thu Nov 20 12:24:38 CET 2008 - ms@suse.de + +- don't show af_inet socket warning for netstat -i (bnc #430864) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- net-tools-1.60-interface_socket.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ net-tools.spec ++++++ --- /var/tmp/diff_new_pack.UE9492/_old 2008-11-24 16:13:49.000000000 +0100 +++ /var/tmp/diff_new_pack.UE9492/_new 2008-11-24 16:13:49.000000000 +0100 @@ -28,7 +28,7 @@ Obsoletes: traceroute net_tool AutoReqProv: on Version: 1.60 -Release: 724 +Release: 725 Summary: Important Programs for Networking BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: net-tools-%{version}.tar.bz2 @@ -66,6 +66,7 @@ Patch31: net-tools-1.60-tcp-recvq-listen.patch Patch32: net-tools-1.60-netstat-ci.diff Patch33: net-tools-1.60-ifconfig-SIOCSIFNETMASK.diff +Patch34: net-tools-1.60-interface_socket.diff %description This package contains essential programs for network administration and @@ -117,6 +118,7 @@ %patch31 -p1 %patch32 -p1 %patch33 -p1 +%patch34 -p1 %build make config @@ -170,6 +172,8 @@ %lang(pt_BR) %doc %_mandir/pt_BR/man*/* %changelog +* Thu Nov 20 2008 ms@suse.de +- don't show af_inet socket warning for netstat -i (bnc #430864) * Thu Nov 06 2008 ms@suse.de - really fixed SIOCSIFNETMASK ioctl from being called earlier to SIOCSIFADDR (bnc #438983) ++++++ net-tools-1.60-interface_socket.diff ++++++ --- net-tools-1.60/lib/interface.c 2008-11-20 12:01:16.000000000 +0100 +++ net-tools-1.60/lib/interface.c 2008-11-20 12:19:22.000000000 +0100 @@ -161,12 +161,10 @@ (as of 2.1.128) */ skfd = get_socket_for_af(AF_INET); if (skfd < 0) { - fprintf(stderr, _("warning: no inet socket available: %s\n"), - strerror(errno)); - /* Try to soldier on with whatever socket we can get hold of. */ - skfd = sockets_open(0); - if (skfd < 0) - return -1; + /* Try to soldier on with whatever socket we can get hold of. */ + skfd = sockets_open(0); + if (skfd < 0) + return -1; } ifc.ifc_buf = NULL; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org