lkml.org 
[lkml]   [1999]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FTP Masquerading - unable to finish ftp transfer
On Sun, Oct 17, 1999 at 11:09:29PM +0000, Kelly French wrote:

Hi!
> Here's a patch (hand pulled out of a larger patch of mine) which should
> fix things.
>
> - data = (char *)&th[1];
> + data = (char *)th + sizeof(struct tcphdr);

May be I'm missing something, but I think this should be like this:
data = (char *)(((__u32 *) tcp) + tcp->doff);

--
ciao,
Emanuele


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.467 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site