projects
/
6bed4
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a4877
)
Resolved conflict with native IPv6 routes with higher metric 1042
author
Rick van Rein
<rick@openfortress.nl>
Sat, 30 Dec 2017 23:51:29 +0000
(23:51 +0000)
committer
Rick van Rein
<rick@openfortress.nl>
Sat, 30 Dec 2017 23:51:29 +0000
(23:51 +0000)
Note: Will need to setup an extra route later, for TBD1::/32 and friends
6bed4peer.c
patch
|
blob
|
history
diff --git
a/6bed4peer.c
b/6bed4peer.c
index
cc88948
..
ab7ec4e
100644
(file)
--- a/
6bed4peer.c
+++ b/
6bed4peer.c
@@
-364,7
+364,7
@@
bool setup_tunnel_address (void) {
ok = false;
}
if (default_route) {
- snprintf (cmd, 512, "/sbin/ip -6 route add default via fe80:: dev %s", ifreq.ifr_name);
+ snprintf (cmd, 512, "/sbin/ip -6 route add default via fe80:: dev %s metric 1042", ifreq.ifr_name);
if (ok && system (cmd) != 0) {
ok = false;
}