From: Guus Sliepen Date: Tue, 15 Jul 2003 16:26:18 +0000 (+0000) Subject: Export mymac. X-Git-Tag: release-1.0~63 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=d26a4af4561ce4236b8224919cf4f3636f57b4c1;p=tinc Export mymac. --- 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 *);