Subject: CVS commit: src/distrib/utils/sysinst
To: None <>
From: David Laight <>
List: source-changes
Date: 11/11/2004 22:10:54
Module Name:	src
Committed By:	dsl
Date:		Thu Nov 11 22:10:54 UTC 2004

Modified Files:
	src/distrib/utils/sysinst: net.c

Log Message:
Get network some interface details by using the relevant ioctls (not
    trying to parse the output of ifconfig)
Loop if the user specifies an unsupported media type.
Run ifocnfig to set the media type (any anything else the user typed in)
    before running dhcp to assign an address.
Correctly extract the defualt gateway from output of 'route -n show'
Extract nameserver from resolv.conf without using get_command_out(),
    delete get_command_out().
Fixes (at least) PR install/11880, install/12706

To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 src/distrib/utils/sysinst/net.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.