-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> On Sun, 21 Feb 1999, Giulio wrote:
> 
> > firewall.c:766: request for member `sll_protocol' in something not a structure o
> > r union
> > make: *** [firewall.o] Error 1
> > =========
> > 
> > Is this my system/settings related?
> > The 98.2 compiles ok with the same system/settings.
> 
> Oops. The "sll->sll_protocol" in that line should probably
> be "sll ? sll->sll_protocol : htons(ETH_P_IP)".
> 
>   (No, it isn't well tested against 2.0.x right now :-( )

the following patch fixes it.
This time dctrl seems to be working for me, but the link throughput is still 
half what I got from 0.16.5 :-(
(If you don't have PGP remove the trailing "- ")


diff --unified -r diald/firewall.c diald-my/firewall.c
- --- diald/firewall.c  Sat Feb 13 17:25:31 1999
+++ diald-my/firewall.c Fri Feb 26 20:49:30 1999
@@ -763,8 +763,11 @@
         * shut down do to a link failure.
         */
        if (ip_pkt->protocol == IPPROTO_TCP)
+#if defined(HAVE_AF_PACKET)    
            forge_tcp_reset(sll->sll_protocol, ip_pkt, len);
- -     
+#else
+           forge_tcp_reset(htons(ETH_P_IP), ip_pkt, len);
+#endif 
        goto skip;
     }
 

- -- 
Luca Olivetti  http://www.luca.ddns.org
Telefonica es un freno para el desarrollo del pa�s
Telefonica is a restrain on the development of the country
- ------------------[ http://www.internautas.org ]---------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE219TSCQPXTRx9NmQRAkOWAJ93yhqE96+IFSbUpuRfbqqKYw2iKgCgr8v/
bmR7pVD1P1CmYHdR48RTFbI=
=YA1q
-----END PGP SIGNATURE-----


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

Reply via email to