projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
784db4e
)
Export mymac.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 15 Jul 2003 16:26:18 +0000
(16:26 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 15 Jul 2003 16:26:18 +0000
(16:26 +0000)
src/route.c
patch
|
blob
|
history
src/route.h
patch
|
blob
|
history
diff --git
a/src/route.c
b/src/route.c
index
382a6dd
..
f00728c
100644
(file)
--- 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.
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.5
7 2003/07/12 17:41:47
guus Exp $
+ $Id: route.c,v 1.1.2.5
8 2003/07/15 16:26:18
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-84,7
+84,7
@@
int routing_mode = RMODE_ROUTER;
int priorityinheritance = 0;
int macexpire = 600;
int overwrite_mac = 0;
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 */
/* RFC 1071 */
diff --git
a/src/route.h
b/src/route.h
index
3ac2c95
..
8daef5a
100644
(file)
--- 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.
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.1
1 2003/07/12 17:41:47
guus Exp $
+ $Id: route.h,v 1.1.2.1
2 2003/07/15 16:26:18
guus Exp $
*/
#ifndef __TINC_ROUTE_H__
*/
#ifndef __TINC_ROUTE_H__
@@
-34,6
+34,8
@@
extern int overwrite_mac;
extern int priorityinheritance;
extern int macexpire;
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 *);
extern void age_mac(void);
extern void route_incoming(node_t *, vpn_packet_t *);
extern void route_outgoing(vpn_packet_t *);