cvs commit: src/sbin/natd

Joerg Sonnenberger joerg at britannica.bec.de
Thu Aug 19 17:02:07 PDT 2004


On Thu, Aug 19, 2004 at 04:48:16PM -0700, Joerg Sonnenberger wrote:
> joerg       2004/08/19 16:48:16 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sbin/natd            icmp.c natd.c 
>   Log:
>   - include sys/param.h for endian macros
>   
>   Revision  Changes    Path
>   1.4       +4 -3      src/sbin/natd/icmp.c
>   1.5       +1 -1      src/sbin/natd/natd.c
> 
> 
> http://www.dragonflybsd.org/cvsweb/src/sbin/natd/icmp.c.diff?r1=1.3&r2=1.4&f=u
> http://www.dragonflybsd.org/cvsweb/src/sbin/natd/natd.c.diff?r1=1.4&r2=1.5&f=u

Just for others, I have a patch in the pipe Hiten and me wrote to cleanup
our endian support and bring it up to the level e.g. of FreeBSD 5/6.

One result of the cleanup is that including only sys/types.h does not
result in ntoh / hton macros or prototypes being visible. It's amasing
how much code actually depends on the old behaviour.

Joerg





More information about the Commits mailing list