search for: local_hdr

Displaying 1 result from an estimated 1 matches for "local_hdr".

Did you mean: local_addr
2003 Oct 03
0
SIGBUS on SPARCv9
...hich 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 @@ -174,7 +174,9 @@ static void route_ipv4_unreachable(vpn_packet_t *packet, uint8_t code) { - struct ip *hdr; + struct ip local_hdr; + struct ip *hdr = &local_hdr; + struct ip *phdr; struct icmp *icmp; struct in_addr ip_src; @@ -186,7 +188,7 @@ cp(); - hdr = (struct ip *)(packet->data + 14); + phdr = (struct ip *)(packet->data + 14); icmp = (struct icmp *)(packet->data + 14 + 20); /* Remember or...