On Thu, 25 Feb 1999 23:00:24 +0000 (GMT/BST), hai scritto:

>Oops. The "sll->sll_protocol" in that line should probably
>be "sll ? sll->sll_protocol : htons(ETH_P_IP)".


Linux 2.0.33, linux5, no tcpwrapper, proxy.

In firewall.c

changed from:

  if (ip_pkt->protocol == IPPROTO_TCP)
       forge_tcp_reset(sll->sll_protocol, ip_pkt, len); 

to:

        if (ip_pkt->protocol == IPPROTO_TCP)
    forge_tcp_reset(sll ? sll->sll_protocol : htons(ETH_P_IP), ip_pkt, len);


same error:

cc -O2 -Wall -pipe   -c firewall.c -o firewall.o
firewall.c: In function `check_firewall':
firewall.c:766: warning: dereferencing `void *' pointer
firewall.c:766: request for member `sll_protocol' in something not a structure o
r union
make: *** [firewall.o] Error 1


Ciao.

-- 
Giulio
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to