Export mymac.
This commit is contained in:
parent
784db4e70d
commit
d26a4af456
2 changed files with 5 additions and 3 deletions
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 *);
|
||||
|
|
Loading…
Reference in a new issue