diff options
Diffstat (limited to 'sys/netinet/libalias/alias_irc.c')
-rw-r--r-- | sys/netinet/libalias/alias_irc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/libalias/alias_irc.c b/sys/netinet/libalias/alias_irc.c index 6d8bf3d..defdb56 100644 --- a/sys/netinet/libalias/alias_irc.c +++ b/sys/netinet/libalias/alias_irc.c @@ -374,7 +374,11 @@ lPACKET_DONE: /* Compute TCP checksum for revised packet */ tc->th_sum = 0; +#ifdef _KERNEL + tc->th_x2 = 1; +#else tc->th_sum = TcpChecksum(pip); +#endif return; } } |