projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove all #ifndefs from route.c
[tinc]
/
lib
/
ethernet.h
diff --git
a/lib/ethernet.h
b/lib/ethernet.h
index
98e7047
..
5f6bcd0
100644
(file)
--- a/
lib/ethernet.h
+++ b/
lib/ethernet.h
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: ethernet.h,v 1.1.2.
1 2003/07/18 12:16:23
guus Exp $
+ $Id: ethernet.h,v 1.1.2.
2 2003/07/18 12:21:02
guus Exp $
*/
#ifndef __TINC_ETHERNET_H__
*/
#ifndef __TINC_ETHERNET_H__
@@
-27,6
+27,10
@@
#define ETH_ALEN 6
#endif
#define ETH_ALEN 6
#endif
+#ifndef ETHER_ADDR_LEN
+#define ETHER_ADDR_LEN 6
+#endif
+
#ifndef ARPHRD_ETHER
#define ARPHRD_ETHER 1
#endif
#ifndef ARPHRD_ETHER
#define ARPHRD_ETHER 1
#endif