0caceb1c87
note: this is not 64bit clean as this would require a minor rewrite of ns from Nicolas Baldi <openbsd@softhome.net>
31 lines
690 B
Plaintext
31 lines
690 B
Plaintext
$OpenBSD: patch-emulate_ether_h,v 1.1 2003/11/01 20:05:01 sturm Exp $
|
|
--- emulate/ether.h.orig 2003-02-26 17:08:40.000000000 -0500
|
|
+++ emulate/ether.h 2003-08-22 07:45:18.000000000 -0400
|
|
@@ -29,22 +29,22 @@
|
|
/*
|
|
* Structure of a 10Mb/s Ethernet header.
|
|
*/
|
|
-#ifndef HAVE_ETHER_HEADER_STRUCT
|
|
+/* #ifndef HAVE_ETHER_HEADER_STRUCT
|
|
struct ether_header {
|
|
u_char ether_dhost[ETHER_ADDR_LEN];
|
|
u_char ether_shost[ETHER_ADDR_LEN];
|
|
u_short ether_type;
|
|
};
|
|
|
|
-#endif
|
|
+#endif */
|
|
/*
|
|
* Structure of a 48-bit Ethernet address.
|
|
*/
|
|
-#ifndef HAVE_ETHER_ADDRESS_STRUCT
|
|
+/* #ifndef HAVE_ETHER_ADDRESS_STRUCT
|
|
struct ether_addr {
|
|
u_char octet[ETHER_ADDR_LEN];
|
|
};
|
|
-#endif
|
|
+#endif */
|
|
|
|
#endif
|
|
|