From 073e7bc6aab0007bcc2023010c1584833ccbd4b7 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 29 Nov 2004 04:08:29 +0000 Subject: - Upgrade to 5.2. - Fix build problem on current (1) - Fix module availability problem on current (2) - Disable perl completely with WITHOUT_PERL knob (3) - Install sample file and improve pkg-message and pkg-plist (4) PR: ports/71071 (1), ports/71522 (2), ports/71315 (3), ports/72779 (4) Submitted by: Matthew Thyer (1), Dominic Mitchell (2), oliver (3), Fumihiko Kimura (4) --- net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c') diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c index 6f1f6c4caeed..c36abaaba730 100644 --- a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c +++ b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c @@ -1,6 +1,6 @@ ---- snmplib/snmpUDPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002 -+++ snmplib/snmpUDPIPv6Domain.c Sun Oct 6 18:03:18 2002 -@@ -62,13 +62,21 @@ +--- snmplib/snmpUDPIPv6Domain.c.orig Sat Oct 16 03:52:29 2004 ++++ snmplib/snmpUDPIPv6Domain.c Mon Oct 25 09:28:10 2004 +@@ -104,13 +104,21 @@ if (to == NULL) { return strdup("UDP/IPv6: unknown"); } else { @@ -8,7 +8,7 @@ - char tmp[INET6_ADDRSTRLEN + 8]; + char tmp[NI_MAXHOST]; -- sprintf(tmp, "[%s]:%hd", +- sprintf(tmp, "UDP/IPv6: [%s]:%hd", - inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr, - INET6_ADDRSTRLEN), ntohs(to->sin6_port)); - return strdup(tmp); -- cgit v1.2.3