Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 167654 Details for
Bug 200215
~net-analyzer/net-snmp-5.4.1 clientaddr patch breaks tcp wrappers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for the bug
netsnmp-fix-src-dst-madness.patch (text/plain), 926 bytes, created by
Krzysztof Olędzki
on 2008-10-08 19:21:19 UTC
(
hide
)
Description:
fix for the bug
Filename:
MIME Type:
Creator:
Krzysztof Olędzki
Created:
2008-10-08 19:21:19 UTC
Size:
926 bytes
patch
obsolete
>diff -Nur net-snmp-5.4.2-orig/snmplib/snmpUDPDomain.c net-snmp-5.4.2/snmplib/snmpUDPDomain.c >--- net-snmp-5.4.2-orig/snmplib/snmpUDPDomain.c 2007-10-11 22:46:30.000000000 +0200 >+++ net-snmp-5.4.2/snmplib/snmpUDPDomain.c 2008-10-04 03:30:22.000000000 +0200 >@@ -104,12 +104,12 @@ > char tmp[64]; > to = (struct sockaddr_in *) &(addr_pair->remote_addr); > if (to == NULL) { >- sprintf(tmp, "UDP: [%s]->unknown", >+ sprintf(tmp, "UDP: unknown->[%s]", > inet_ntoa(addr_pair->local_addr)); > } else { >- sprintf(tmp, "UDP: [%s]->", inet_ntoa(addr_pair->local_addr)); >- sprintf(tmp + strlen(tmp), "[%s]:%hd", >+ sprintf(tmp, "UDP: [%s]:%hu->", > inet_ntoa(to->sin_addr), ntohs(to->sin_port)); >+ sprintf(tmp + strlen(tmp), "[%s]", inet_ntoa(addr_pair->local_addr)); > } > return strdup(tmp); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200215
: 167654