Blame SOURCES/net-snmp-5.8-ipv6-clientaddr.patch

23ac29
diff -urNp a/snmplib/transports/snmpUDPIPv6Domain.c b/snmplib/transports/snmpUDPIPv6Domain.c
23ac29
--- a/snmplib/transports/snmpUDPIPv6Domain.c	2019-01-24 09:03:05.606441678 +0100
23ac29
+++ b/snmplib/transports/snmpUDPIPv6Domain.c	2019-02-07 08:59:26.434587244 +0100
23ac29
@@ -464,7 +464,7 @@ netsnmp_udp6_transport(const struct sock
23ac29
                                               NETSNMP_DS_LIB_CLIENT_ADDR);
23ac29
         if (client_socket) {
23ac29
             struct sockaddr_in6 client_addr;
23ac29
-            if(!netsnmp_sockaddr_in6_2(&client_addr, client_socket, NULL)) {
23ac29
+            if(netsnmp_sockaddr_in6_2(&client_addr, client_socket, NULL)) {
23ac29
                 return netsnmp_udp6_transport_with_source(addr, local,
23ac29
                                                           &client_addr);
23ac29
             }