/etc/hostname.if
Inet 1.2.3.4 255.255.255.0 NONE -inet6

# ksh /etc/netstart
# ifconfig 
## NO PROBLEM

/etc/hostname.if
Inet 1.2.3.4 255.255.255.0 -inet6

# ksh /etc/netstart
ifconfig: -inet6: bad value
## NO SEGMENTATION FAULT


So, IMHO, if there is any problem at all, of course it should be due to the 
''correctness'' of the line in /etc/hostname.
We should check if the parsing of such file is OK (by that I mean of course to 
check for the correctness of the values )

But AFAIK , and As Far I've tested /etc/hostname.if for different, WRONG LINES, 
it has never cause ifconfig to segfault.




Reply via email to