diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-15 08:18:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-15 08:18:18 +0100 |
commit | 13da0775446dc24645bdbe52a081899d46a94c88 (patch) | |
tree | d2caef30cc192a5b2f58b0e9c402a4116a40d987 /package/snort/patches/patch-src_log_text_c | |
parent | 827c15388b9eeb99288f5fc0fec037265cdd791a (diff) |
make ag241 allmodconfig compile
Diffstat (limited to 'package/snort/patches/patch-src_log_text_c')
-rw-r--r-- | package/snort/patches/patch-src_log_text_c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/snort/patches/patch-src_log_text_c b/package/snort/patches/patch-src_log_text_c deleted file mode 100644 index 6451bbd1e..000000000 --- a/package/snort/patches/patch-src_log_text_c +++ /dev/null @@ -1,38 +0,0 @@ ---- snort-2.8.5.1.orig/src/log_text.c 2009-05-07 00:28:15.000000000 +0200 -+++ snort-2.8.5.1/src/log_text.c 2009-12-27 16:08:42.000000000 +0100 -@@ -1604,7 +1604,7 @@ void LogArpHeader(TextLog* log, Packet * - switch(ntohs(p->ah->ea_hdr.ar_op)) - { - case ARPOP_REQUEST: -- bcopy((void *)p->ah->arp_tpa, (void *) &ip_addr, sizeof(ip_addr)); -+ memcpy((void *) &ip_addr, (void *)p->ah->arp_tpa, sizeof(ip_addr)); - TextLog_Print(log, "ARP who-has %s", inet_ntoa(ip_addr)); - - if(memcmp((char *) ezero, (char *) p->ah->arp_tha, 6) != 0) -@@ -1613,7 +1613,7 @@ void LogArpHeader(TextLog* log, Packet * - p->ah->arp_tha[1], p->ah->arp_tha[2], p->ah->arp_tha[3], - p->ah->arp_tha[4], p->ah->arp_tha[5]); - } -- bcopy((void *)p->ah->arp_spa, (void *) &ip_addr, sizeof(ip_addr)); -+ memcpy((void *) &ip_addr, (void *)p->ah->arp_spa, sizeof(ip_addr)); - - TextLog_Print(log, " tell %s", inet_ntoa(ip_addr)); - -@@ -1626,7 +1626,7 @@ void LogArpHeader(TextLog* log, Packet * - break; - - case ARPOP_REPLY: -- bcopy((void *)p->ah->arp_spa, (void *) &ip_addr, sizeof(ip_addr)); -+ memcpy((void *) &ip_addr, (void *)p->ah->arp_spa, sizeof(ip_addr)); - TextLog_Print(log, "ARP reply %s", inet_ntoa(ip_addr)); - - /* print out the originating request if we're on a weirder -@@ -1659,7 +1659,7 @@ void LogArpHeader(TextLog* log, Packet * - break; - - case ARPOP_RREPLY: -- bcopy((void *)p->ah->arp_tpa, (void *) &ip_addr, sizeof(ip_addr)); -+ memcpy((void *) &ip_addr, (void *)p->ah->arp_tpa, sizeof(ip_addr)); - TextLog_Print(log, "RARP reply %X:%X:%X:%X:%X:%X at %s", - p->ah->arp_tha[0], p->ah->arp_tha[1], p->ah->arp_tha[2], - p->ah->arp_tha[3], p->ah->arp_tha[4], p->ah->arp_tha[5], |