Subject: Re: CVS commit: basesrc
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: source-changes
Date: 06/11/2000 08:39:47
On Sun, Jun 11, 2000 at 04:55:19PM +0900, itojun@iijlab.net wrote:

 > >Modified Files:
 > >	basesrc/usr.bin/ftp: ftp.c main.c version.h
 > >
 > >Log Message:
 > >portability fixes for lukemftp:
 > >* initconn(): use in_addr_t instead of u_int32_t when manipulating IPv6
 > >  addresses
 > 
 > 	I believe u_int32_t is much more correct here.  there's no particular
 > 	relationship between in_addr_t and IPv6 address.
 > 	please backout the change.

If the concern is portability, use `uint32_t'.  Although, in_addr_t is
guaranteed to be a 32-bit unsigned integer (see SUSv2).

 > 	RFC2553 (IPv6 basic API) does not talk about in_addr_t, so I think we
 > 	cannot assume it.

What types does it specify?

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>