| Summary: | bsnmpd: ipv4 addresses in begemotSnmpdTransInetStatus table are reversed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | topical <topical> | ||||
| Component: | bin | Assignee: | Andrey V. Elsukov <ae> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | ae, emaste | ||||
| Priority: | --- | ||||||
| Version: | 12.1-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
topical
2019-11-18 12:29:51 UTC
Created attachment 209245 [details]
Proposed patch
Hello,
can you test this patch?
Hi, I've just compiled the daemon - and it works now! Thanks a lot, Thomas A commit references this bug: Author: ae Date: Tue Nov 19 16:29:47 UTC 2019 New revision: 354858 URL: https://svnweb.freebsd.org/changeset/base/354858 Log: Fix the byte order of IPv4 address parsed from begemotSnmpdTransInetStatus config option. An address is already in network byte order, there is no need to do htonl(). PR: 242056 MFC after: 1 week Changes: head/contrib/bsnmp/snmpd/trans_inet.c A commit references this bug: Author: ae Date: Tue Nov 26 02:50:26 UTC 2019 New revision: 355105 URL: https://svnweb.freebsd.org/changeset/base/355105 Log: MFC r354858: Fix the byte order of IPv4 address parsed from begemotSnmpdTransInetStatus config option. An address is already in network byte order, there is no need to do htonl(). PR: 242056 Changes: _U stable/12/ stable/12/contrib/bsnmp/snmpd/trans_inet.c Fixed in head/ and stable/12. Thanks! |