--- src/flow-fanout.c.old Wed Feb 26 08:44:26 2003 +++ src/flow-fanout.c Wed Feb 26 08:43:38 2003 @@ -873,9 +873,9 @@ /* see Stevens Unix Network Programming Volume 1 2nd edition page 657 */ /* conditional from rawsend.c */ #if defined (__linux__) || (defined (__OpenBSD__) && (OpenBSD > 199702)) - ip_hdr->ip_len = htons(FT_ENC_IPHDR_LEN+fte.buf_size); + ip_hdr->ip_len = htons((FT_ENC_IPHDR_LEN+fte)->buf_size); #else - ip_hdr->ip_len = FT_ENC_IPHDR_LEN+fte->buf_size; + ip_hdr->ip_len = (FT_ENC_IPHDR_LEN+fte)->buf_size; #endif ip_hdr->ip_ttl = peers[j].ttl; /* use transmit source if loc_addr is not specified */