]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- rel 3; nl_socket_free instead of nl_close auto/th/net-snmp-5_6_1-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 27 Mar 2011 22:22:59 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-libnl.patch -> 1.2
    net-snmp.spec -> 1.175

net-snmp-libnl.patch
net-snmp.spec

index 347045863a1f56489911f65d1bed60bb8ea61fb5..0879e45e0b883ff49f5a6f9069e81ca8cd8abf67 100644 (file)
@@ -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 4885895ca6e739d6f2716a81367ff03f383b4fbb..4a8b43521554d8ed43574e9c6021d459ce79120a 100644 (file)
@@ -28,7 +28,7 @@ Summary(ru.UTF-8):    Набор утилит для протокола SNMP от U
 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
This page took 0.056985 seconds and 4 git commands to generate.