diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-03-27 10:55:44 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-03-27 10:55:44 +0000 |
commit | eda27ad6b62e923ce73604196ef0f17717340912 (patch) | |
tree | 3431955bd93ffb73cb1b0743c7b0132d1a6e24ff /net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c | |
parent | 8d56991bfc17944ce929eda2efed71ce49ea961c (diff) |
- Repocopy from net-mgmt/net-snmp to net-mgmt/net-snmp53.
- Add appropriate CONFLICTS, NO_LATEST_LINK.
- Upgrade net-mgmt/net-snmp to 5.4.1 [1].
PR: ports/110969 [1]
Submitted by: valerio.daelli@gmail.com [1]
This upgrade (5.3.x -> 5.4.1) includes various changes in original
sources.
If you find something strange (or missing/incorrect MIB values) than
5.3.x, please let me know. And you can choose net-mgmt/net-snmp53
port for old 5.3.x version.
Notes
Notes:
svn path=/head/; revision=209939
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c index e830283e3d4a..ad98e534bdf2 100644 --- a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c +++ b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c @@ -1,13 +1,11 @@ -Index: snmplib/snmpUDPIPv6Domain.c -diff -u -p snmplib/snmpUDPIPv6Domain.c.orig snmplib/snmpUDPIPv6Domain.c ---- snmplib/snmpUDPIPv6Domain.c.orig Mon Aug 20 17:06:42 2007 -+++ snmplib/snmpUDPIPv6Domain.c Fri Jan 11 13:39:36 2008 -@@ -103,13 +103,24 @@ netsnmp_udp6_fmtaddr(netsnmp_transport * +--- snmplib/snmpUDPIPv6Domain.c.orig 2007-06-11 07:22:55.000000000 +0900 ++++ snmplib/snmpUDPIPv6Domain.c 2008-03-26 07:47:55.942743517 +0900 +@@ -109,13 +109,24 @@ if (to == NULL) { return strdup("UDP/IPv6: unknown"); } else { - char addr[INET6_ADDRSTRLEN]; -- char tmp[INET6_ADDRSTRLEN + 18]; +- char tmp[INET6_ADDRSTRLEN + 8]; + char addr[NI_MAXHOST], tmp[NI_MAXHOST + NI_MAXSERV + 12]; - sprintf(tmp, "UDP/IPv6: [%s]:%hu", |