Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
barnyard2
> barnyard2-syslog-full.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File barnyard2-syslog-full.patch of Package barnyard2
--- src/output-plugins/spo_syslog_full.c.orig 2012-05-24 21:22:38.702363075 +0200 +++ src/output-plugins/spo_syslog_full.c 2012-05-24 21:22:53.250937253 +0200 @@ -496,10 +496,10 @@ if(p->iph) { - p_ip = inet_ntoa(p->iph->ip_src); + p_ip = inet_ntoa(p->iph->ip_src.s_addr); memcpy(s_ip,p_ip,strlen(p_ip)); - p_ip = inet_ntoa(p->iph->ip_dst); + p_ip = inet_ntoa(p->iph->ip_dst.s_addr); memcpy(d_ip,p_ip,strlen(p_ip)); if( (data->format_current_pos += snprintf(data->formatBuffer,SYSLOG_MAX_QUERY_SIZE,"%lu%c%s%c%s",