|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: kod.c / moyari.c for linux
Chris Wicklein (chrisw
C46422-A.MNTP1.IL.HOME.COM)
Wed, 7 Jul 1999 11:27:48 -0500
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: rieger
AT.IBM.COM: "sockd loopback"
- Previous message: Paul Leach: "Re: MS Chap v2 analysis"
- Maybe in reply to: Paul Leach: "MS Chap v2 analysis"
Here's the trivial fix for compiling under Linux:
3,4d2
< /* trivial fix for linux by crw */
<
68c66
< struct icmphdr *icp; /* icmp header */
--- > struct icmp *icp; /* icmp header */ 78c76 < icp = ( struct icmphdr *)( packet + IP_SIZE );--- > icp = ( struct icmp *)( packet + IP_SIZE ); 97,99c95,97 < icp->type = 13; < icp->code = 0; < icp->checksum = 0;--- > icp->icmp_type = 13; > icp->icmp_code = 0; > icp->icmp_cksum = 0; 116c114 < icp->checksum = in_cksum( ( u_short *)( packet + IP_SIZE ),--- > icp->icmp_cksum = in_cksum( ( u_short *)( packet + IP_SIZE ),
- Next message: rieger
AT.IBM.COM: "sockd loopback"
- Previous message: Paul Leach: "Re: MS Chap v2 analysis"
- Maybe in reply to: Paul Leach: "MS Chap v2 analysis"
This archive was generated by hypermail 2.0b3 on Wed Jul 07 1999 - 10:08:47 CDT