Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=c3a9edd1d58bb89b2e9720abbd20a21da10079a1

commit c3a9edd1d58bb89b2e9720abbd20a21da10079a1
Author: Elentir <elen...@frugalware.org>
Date:   Sun Jun 20 18:09:06 2010 +0200

configsource: fix memory corruption with hostname

diff --git a/src/plugins/configsource.c b/src/plugins/configsource.c
index 6c7b578..abcc73f 100644
--- a/src/plugins/configsource.c
+++ b/src/plugins/configsource.c
@@ -998,7 +998,7 @@ int post_net_config(fwnet_profile_t *newprofile, 
fwnet_interface_t *interface)
if(fwnet_is_dhcp(interface) == 0)
while(dsl_config(newprofile, interface) == -2) {}

-       char *host = strdup("frugalware");
+       char *host = strdup("install.frugalware");
fwnet_writeconfig(newprofile, host);
fw_system("netconfig start");
free(host);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to