[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipfwadm + 2.0.36pre10



On 18-Sep-98 Matthew R. Briggs wrote:
> Ah, this is a fun one.  You have to make a one-line change to a kernel
> header file and recompile ipfwadm from source.  Then change the header
> back!  Search on http://www.dejanews.com for the exact error message you
> get, and you'll find a detailed description of the problem and its
> solution.
> 

Changing the line in <netinet/ip_fw.h>:

from:
u_int32_t fw_pcnt, fw_bcnt;

to:
unsigned long fw_pcnt, fw_bcnt;

and recompiling the ipfwadm from netbase sources fixes the problem.

The best solution is probably making an #ifdef checking the kernel
version

NB the header file states that has been taken from a 2.1.x kernel.

Ciao!


 -------------------------
    E-Mail: Michele Comitini <mcm@glisco.it>
    Michele Comitini
    Glisco s.a.s.
 -------------------------


Reply to: