From: <ow...@us...> - 2007-10-29 09:04:12
|
Revision: 589 http://ipcop.svn.sourceforge.net/ipcop/?rev=589&view=rev Author: owes Date: 2007-10-29 02:04:17 -0700 (Mon, 29 Oct 2007) Log Message: ----------- did not set default domainname correctly Modified Paths: -------------- ipcop/trunk/src/installer/host_domain.c Modified: ipcop/trunk/src/installer/host_domain.c =================================================================== --- ipcop/trunk/src/installer/host_domain.c 2007-10-29 08:39:07 UTC (rev 588) +++ ipcop/trunk/src/installer/host_domain.c 2007-10-29 09:04:17 UTC (rev 589) @@ -28,13 +28,14 @@ FILE *file; char commandstring[STRING_SIZE]; + /* set defaults if not defined yet */ if ( hostname == NULL ) { hostname = default_hostname; } if ( domainname == NULL ) { - hostname = default_domainname; + domainname = default_domainname; } /* rebuildhosts will take main/settings and main/hosts to rebuild /etc/hosts */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |