OBS User unknown 2008-09-25 21:39:18 +00:00 committed by Git OBS Bridge
parent cacde1687b
commit a6feccae6a
3 changed files with 35 additions and 5 deletions

View File

@ -17,3 +17,30 @@
for (;;) {
i = iface_info();
if (!flag_cnt || i)
--- net-tools-1.60/lib/interface.c 2008-09-09 21:24:57.612332000 +0200
+++ net-tools-1.60/lib/interface.c 2008-09-09 21:27:23.843946000 +0200
@@ -140,12 +140,12 @@
return 0;
}
-void get_max_ifacename(void)
+void get_max_ifacename(int flag_cacheof)
{
struct interface *ife;
int tmp = ife_field;
- if (!int_list && (if_readlist(0) < 0)) {
+ if (!int_list && (if_readlist(flag_cacheof) < 0)) {
return;
}
for (ife = int_list; ife; ife = ife->next) {
--- net-tools-1.60/include/interface.h 2008-09-09 21:25:12.272655000 +0200
+++ net-tools-1.60/include/interface.h 2008-09-09 21:27:48.718043000 +0200
@@ -64,6 +64,7 @@
extern int if_fetch(struct interface *ife);
extern int for_all_interfaces(int (*)(struct interface *, void *), void *, int);
+extern void get_max_ifacename(int flag_cacheof);
extern int free_interface_list(void);
extern struct interface *lookup_interface(char *name);
extern int if_readlist(int);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 25 17:12:33 CEST 2008 - ms@suse.de
- really fixed netstat -ci, incomplete patch (bnc #424813)
-------------------------------------------------------------------
Wed Sep 10 10:18:19 CEST 2008 - ms@suse.de
@ -9,8 +14,6 @@ Wed Sep 10 10:18:19 CEST 2008 - ms@suse.de
Tue Sep 2 16:59:13 CEST 2008 - ms@suse.de
- update to traceroute 1.2
which allows tracing over TCP. This fix implements
fate request (fate #302509)
-------------------------------------------------------------------
Mon Aug 11 09:32:46 CEST 2008 - ms@suse.de

View File

@ -28,7 +28,7 @@ Provides: iputils:/usr/share/man/man8/traceroute6.1.gz
Obsoletes: traceroute net_tool
AutoReqProv: on
Version: 1.60
Release: 718
Release: 721
Summary: Important Programs for Networking
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: net-tools-%{version}.tar.bz2
@ -168,14 +168,14 @@ rm -rf $RPM_BUILD_ROOT
%lang(pt_BR) %doc %_mandir/pt_BR/man*/*
%changelog
* Thu Sep 25 2008 ms@suse.de
- really fixed netstat -ci, incomplete patch (bnc #424813)
* Wed Sep 10 2008 ms@suse.de
- fixed netstat -ci which prints the stats only on the first loop
on subsequent loops it says "no statistics available", even though
there was network traffic in between (bnc #424813)
* Tue Sep 02 2008 ms@suse.de
- update to traceroute 1.2
which allows tracing over TCP. This fix implements
fate request (fate #302509)
* Mon Aug 11 2008 ms@suse.de
- added patch to allow monitoring of accepted connections queue
length for tcp listening sockets. This will work with