[netcf-devel] suggestion for replacing inet_aton

ajs at redhat.com ajs at redhat.com
Mon Aug 2 14:12:00 UTC 2010


inet_pton is provided within gnulib which gives us another portability option, however, src/xslt_ext.c uses inet_aton when processing a netmask (roughly line 113). Is it acceptable to possibly replace inet_aton? I think inet_pton(3) would be a good replacement though there are some caveats in the notes section of its man page.

Thank you

-- 
        __          __                
.-----.|  |_.-----.|  |--.-----.-----.
|__ --||   _|  _  ||    <|  -__|__ --|
|_____||____|_____||__|__|_____|_____|
 .----------------------------------.
(   ajs at redhat.com || 919.754.4187   )
 `----------------------------------'



More information about the netcf-devel mailing list