[Snort-devel] [PATCH] decode.h

Peter Moore peter at ...799...
Sun Nov 4 23:24:02 EST 2001


for BeOS BONE. BeOS has ARPOP_REQUEST and ARPOP_REPLY defined already.

snort-1.8.2->diff -u decode.h.orig decode.h
--- decode.h.orig       Mon Nov  5 01:48:20 2001
+++ decode.h    Mon Nov  5 01:50:59 2001
@@ -226,8 +226,10 @@
 #define ETHERNET_TYPE_CDP               0x2000    /* Cisco Discovery 
Protocol */
 /* End FDDI */

+#ifndef BEOS
 #define ARPOP_REQUEST   1    /* ARP request                  */
 #define ARPOP_REPLY     2    /* ARP reply                    */
+#endif
 #define ARPOP_RREQUEST  3    /* RARP request                 */
 #define ARPOP_RREPLY    4    /* RARP reply                   */
                                           





More information about the Snort-devel mailing list