packages: net-snmp/net-snmp-libnl.patch, net-snmp/net-snmp.spec - rel 3; nl...
arekm
arekm at pld-linux.org
Mon Mar 28 00:23:04 CEST 2011
Author: arekm Date: Sun Mar 27 22:23:04 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 3; nl_socket_free instead of nl_close
---- Files affected:
packages/net-snmp:
net-snmp-libnl.patch (1.1 -> 1.2) , net-snmp.spec (1.174 -> 1.175)
---- Diffs:
================================================================
Index: packages/net-snmp/net-snmp-libnl.patch
diff -u packages/net-snmp/net-snmp-libnl.patch:1.1 packages/net-snmp/net-snmp-libnl.patch:1.2
--- packages/net-snmp/net-snmp-libnl.patch:1.1 Sun Mar 27 23:12:35 2011
+++ packages/net-snmp/net-snmp-libnl.patch Mon Mar 28 00:22:59 2011
@@ -22,7 +22,7 @@
+ if ((err = nl_connect(nl, NETLINK_INET_DIAG)) < 0) {
+ DEBUGMSGTL(("mibII/tcpTable", "Failed to connect to netlink: %s\n", nl_geterror(err)));
+ snmp_log(LOG_ERR, "snmpd: Couldn't connect to netlink: %s\n", nl_geterror(err));
-+ nl_close(nl);
++ nl_socket_free(nl);
return -1;
}
@@ -37,7 +37,7 @@
+ if ((err = nl_send_auto_complete(nl, nm)) < 0) {
+ DEBUGMSGTL(("mibII/tcpTable", "nl_send_autocomplete(): %s\n", nl_geterror(err)));
+ snmp_log(LOG_ERR, "snmpd: nl_send_autocomplete(): %s\n", nl_geterror(err));
-+ nl_close(nl);
++ nl_socket_free(nl);
return -1;
}
nlmsg_free(nm);
@@ -50,7 +50,7 @@
- nl_handle_destroy(nl);
+ DEBUGMSGTL(("mibII/tcpTable", "nl_recv(): %s\n", nl_geterror(len)));
+ snmp_log(LOG_ERR, "snmpd: nl_recv(): %s\n", nl_geterror(len));
-+ nl_close(nl);
++ nl_socket_free(nl);
return -1;
}
@@ -59,7 +59,7 @@
}
- nl_handle_destroy(nl);
-+ nl_close(nl);
++ nl_socket_free(nl);
if (tcp_head) {
DEBUGMSGTL(("mibII/tcpTable", "Loaded TCP Table using netlink\n"));
================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.174 packages/net-snmp/net-snmp.spec:1.175
--- packages/net-snmp/net-snmp.spec:1.174 Sun Mar 27 23:12:35 2011
+++ packages/net-snmp/net-snmp.spec Mon Mar 28 00:22:59 2011
@@ -29,7 +29,7 @@
Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
Name: net-snmp
Version: 5.6.1
-Release: 3
+Release: 4
License: BSD-like
Group: Networking/Daemons
Source0: http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -807,6 +807,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.175 2011/03/27 22:22:59 arekm
+- rel 3; nl_socket_free instead of nl_close
+
Revision 1.174 2011/03/27 21:12:35 arekm
- rel 3; port to libnl 3.0 api
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp-libnl.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.174&r2=1.175&f=u
More information about the pld-cvs-commit
mailing list