RFH -> Request for Help.
Ivo Timmermans
zarq at zebra.icicle.yi.org
Sun Mar 26 01:40:25 CET 2000
On Sat Mar 25 2000, Geoff Norton <geoff at iRover.com> wrote:
>
> Hello all,
>
> I've been playing with tinc to setup a wan between two offices of the
> company that I work for. I'm partially there but having a slight problem.
Try this little patch. If it works for you, I'll make it a new
version.
=======================================================
--- net.c.old Tue Feb 8 00:35:38 2000
+++ net.c Fri Feb 11 00:50:57 2000
@@ -80,8 +80,8 @@
p->len += 12;
tmp[0] = tmp[6] = 0xfe;
tmp[1] = tmp[7] = 0xfd;
- *((ip_t*)(&tmp[2])) = *((ip_t*)(&tmp[30])); /* !! ?? */
- *((ip_t*)(&tmp[8])) = (ip_t)(htonl(myself->vpn_ip));
+ *((ip_t*)(&tmp[2])) = (ip_t)(htonl(myself->vpn_ip));
+ *((ip_t*)(&tmp[8])) = *((ip_t*)(&tmp[26]));
memcpy(p->data, &tmp[0], p->len);
}
=======================================================
--
Ivo Timmermans
You are just jealous because the little voices are talking to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20000326/22c5dbc5/attachment.pgp
More information about the Tinc
mailing list