From d26a4af4561ce4236b8224919cf4f3636f57b4c1 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 15 Jul 2003 16:26:18 +0000 Subject: [PATCH] Export mymac. --- src/route.c | 4 ++-- src/route.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/route.c b/src/route.c index 382a6dde..f00728c7 100644 --- a/src/route.c +++ b/src/route.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: route.c,v 1.1.2.57 2003/07/12 17:41:47 guus Exp $ + $Id: route.c,v 1.1.2.58 2003/07/15 16:26:18 guus Exp $ */ #include "config.h" @@ -84,7 +84,7 @@ int routing_mode = RMODE_ROUTER; int priorityinheritance = 0; int macexpire = 600; int overwrite_mac = 0; -static mac_t mymac = {{0xFE, 0xFD, 0, 0, 0, 0}}; +mac_t mymac = {{0xFE, 0xFD, 0, 0, 0, 0}}; /* RFC 1071 */ diff --git a/src/route.h b/src/route.h index 3ac2c95e..8daef5a4 100644 --- a/src/route.h +++ b/src/route.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. - $Id: route.h,v 1.1.2.11 2003/07/12 17:41:47 guus Exp $ + $Id: route.h,v 1.1.2.12 2003/07/15 16:26:18 guus Exp $ */ #ifndef __TINC_ROUTE_H__ @@ -34,6 +34,8 @@ extern int overwrite_mac; extern int priorityinheritance; extern int macexpire; +extern mac_t mymac; + extern void age_mac(void); extern void route_incoming(node_t *, vpn_packet_t *); extern void route_outgoing(vpn_packet_t *); -- 2.20.1