Displaying 2 results from an estimated 2 matches for "route_ipv4_unreach".
2003 Oct 03
0
SIGBUS on SPARCv9
...inc with not ConnectTo, (and it can't tcp-connect to
the relevant other tincd, because that tincd is behind a
firewall --> that tincd usualy connects to my tincd).
If I start that tincd alone (not connected at all) and do a
ping some_other_ip, it gets a SIGBUS in route.c:207 in the
function route_ipv4_unreachable at the line:
hdr->ip_v = 4;
This seems to be an alignment problem.
I've appended a quick fix for this, which at least makes
tinc not crash any more.
Elrond
-------------- next part --------------
--- route.c~ Thu Jul 31 15:18:34 2003
+++ route.c Fri Oct 3 12:04:54 2003
@...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...->head; node2; node2 = node2->next) {
c = node2->data;
- if(c->status.active)
+ if(c->status.st.active)
send_del_subnet(c, s);
}
@@ -346,7 +346,7 @@
return;
}
- if(!subnet->owner->status.reachable)
+ if(!subnet->owner->status.st.reachable)
route_ipv4_unreachable(source, packet, ICMP_DEST_UNREACH, ICMP_NET_UNREACH);
if(priorityinheritance)
@@ -490,7 +490,7 @@
return;
}
- if(!subnet->owner->status.reachable)
+ if(!subnet->owner->status.st.reachable)
route_ipv6_unreachable(source, packet, ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NORO...