Displaying 1 result from an estimated 1 matches for "real_packet_t".
1999 Oct 20
3
patch for tinc-0.3
...y in tinc-0.3-patched/m4: Makefile
Only in tinc-0.3-patched: misc
Only in tinc-0.3-patched/src: Makefile
Only in tinc-0.3-patched/src: bla
diff -r tinc-0.3/src/net.c tinc-0.3-patched/src/net.c
129a130,132
> /*
> * decrypt received udp packet, and write into tap device
> */
132a136
> real_packet_t *rp_ptr;
133a138,146
> int rp_lenin;
>
> rp_lenin = ((real_packet_t *) packet)->data.len;
>
> /* encryption will crash when packet has unexpected len */
> if ( ! ((rp_lenin > 20) && (rp_lenin < MAXSIZE))) {
> syslog(LOG_ERR, "dropping strange...