Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199091 Details for
Bug 279019
Request for barnyard2 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix compile issue for 1.6
platypus-fix-inet_ntop.patch (text/plain), 1.66 KB, created by
Fabio Scaccabarozzi
on 2009-07-25 09:54:22 UTC
(
hide
)
Description:
fix compile issue for 1.6
Filename:
MIME Type:
Creator:
Fabio Scaccabarozzi
Created:
2009-07-25 09:54:22 UTC
Size:
1.66 KB
patch
obsolete
>--- a/src/output-plugins/spo_platypus.c 2009-07-19 22:07:50.547283102 +0200 >+++ b/src/output-plugins/spo_platypus.c 2009-07-19 22:28:59.837282220 +0200 >@@ -183,9 +183,6 @@ > char *evt_msg; > char *data_msg; > >- struct in_addr sip4_in; >- struct in_addr dip4_in; >- > char sip4[INET_ADDRSTRLEN]; > char dip4[INET_ADDRSTRLEN]; > #ifdef SUP_IP6 >@@ -288,10 +285,8 @@ > switch(event_type) > { > case UNIFIED2_IDS_EVENT: >- sip4_in.s_addr = ntohl(((Unified2Event *)event)->ip_source); >- dip4_in.s_addr = ntohl(((Unified2Event *)event)->ip_destination); >- inet_ntop(AF_INET, &sip4_in, sip4, INET_ADDRSTRLEN); >- inet_ntop(AF_INET, &dip4_in, dip4, INET_ADDRSTRLEN); >+ inet_ntop(AF_INET, &((Unified2Event *)event)->ip_source, sip4, INET_ADDRSTRLEN); >+ inet_ntop(AF_INET, &((Unified2Event *)event)->ip_destination, dip4, INET_ADDRSTRLEN); > > SnortSnprintfAppend(evt_msg, MAX_MSG_LEN, "4|%s|%u|%s|%u|%u|", > sip4, >@@ -302,8 +297,8 @@ > break; > #ifdef SUP_IP6 > case UNIFIED2_IDS_EVENT_IPV6: >- inet_ntop(AF_INET6, ntohl(((Unified2Event6 *)event)->ip_source), sip6, INET6_ADDRSTRLEN); >- inet_ntop(AF_INET6, ntohl(((Unified2Event6 *)event)->ip_destination), dip6, INET6_ADDRSTRLEN); >+ inet_ntop(AF_INET6, &((Unified2Event *)event)->ip_source, sip6, INET6_ADDRSTRLEN); >+ inet_ntop(AF_INET6, &((Unified2Event *)event)->ip_destination, dip6, INET6_ADDRSTRLEN); > > SnortSnprintfAppend(evt_msg, MAX_MSG_LEN, "6|%s|%u|%s|%u|%u|", > sip4,
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 279019
:
199090
| 199091 |
199092
|
199094
|
212443