Skip to content

Commit bccf186

Browse files
kannankvsqiluo-msft
authored andcommitted
[snmpd] mvrf snmp ipv6 prototype mismatch issue resolved (#3504)
1 parent 2f63e90 commit bccf186

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/snmpd/patch-5.7.3+dfsg/0007-Linux-VRF-5.7.3-Support.patch

+15-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Testing done included VRFs as well as non-VRF functionality with traps
4949
snmplib/transports/snmpUDPBaseDomain.c | 39 ++++++++++++++++++------
5050
snmplib/transports/snmpUDPDomain.c | 15 ++++-----
5151
snmplib/transports/snmpUDPIPv4BaseDomain.c | 4 +--
52-
snmplib/transports/snmpUDPIPv6Domain.c | 13 ++++----
52+
snmplib/transports/snmpUDPIPv6Domain.c | 19 ++++-----
5353
snmplib/transports/snmpUnixDomain.c | 5 +--
54-
23 files changed, 141 insertions(+), 70 deletions(-)
54+
23 files changed, 141 insertions(+), 76 deletions(-)
5555

5656
diff --git a/agent/agent_trap.c b/agent/agent_trap.c
5757
index 080b8bf..c488ac9 100644
@@ -706,6 +706,19 @@ diff --git a/snmplib/transports/snmpUDPIPv6Domain.c b/snmplib/transports/snmpUDP
706706
index 18de876..6b44b22 100644
707707
--- a/snmplib/transports/snmpUDPIPv6Domain.c
708708
+++ b/snmplib/transports/snmpUDPIPv6Domain.c
709+
@@ -74,12 +74,6 @@ oid netsnmp_UDPIPv6Domain[] = { TRANSPORT_DOMAIN_UDP_IPV6 };
710+
static netsnmp_tdomain udp6Domain;
711+
712+
/*
713+
- * from snmpUDPDomain. not static, but not public, either.
714+
- * (ie don't put it in a public header.)
715+
- */
716+
-extern void _netsnmp_udp_sockopt_set(int fd, int server);
717+
-
718+
-/*
719+
* Return a string representing the address in data, or else the "far end"
720+
* address if data is NULL.
721+
*/
709722
@@ -186,7 +186,7 @@ netsnmp_udp6_send(netsnmp_transport *t, void *buf, int size,
710723
*/
711724

0 commit comments

Comments
 (0)