[Frugalware-darcs] frugalwareutils: libfwnetconfig: fwnet_writeconfig() should write the desc.

Priyank priyank at frugalware.org
Wed Jun 20 10:06:45 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalwareutils;a=darcs_commitdiff;h=20070620064640-5ce2c-d586ede2c68bc134fb377f2a9899eb692c408845.gz;

[libfwnetconfig: fwnet_writeconfig() should write the desc.
Priyank <priyank at frugalware.org>**20070620064640
 * fwnet_writeconfig() should check if profile->desc is specified, and
   write the profile description to the file.
] {
hunk ./libfwnetconfig/libfwnetconfig.c 654
-			strlen(profile->adsl_interface))
+			strlen(profile->adsl_interface) || strlen(profile->desc))
hunk ./libfwnetconfig/libfwnetconfig.c 656
+	if (strlen(profile->desc))
+		fprintf(fp, "desc = %s\n", profile->desc);
}


More information about the Frugalware-darcs mailing list