]> git.meshlink.io Git - meshlink/blobdiff - src/conf.c
New API function for address hinting.
[meshlink] / src / conf.c
index a53db04604ed10bc8725053a38bb9d33edfb84b8..36c10acb45d3d025458de83fdc89bd52f8824d43 100644 (file)
@@ -323,10 +323,9 @@ bool append_config_file(meshlink_handle_t *mesh, const char *name, const char *k
        if(!fp) {
                logger(DEBUG_ALWAYS, LOG_ERR, "Cannot open config file %s: %s", filename, strerror(errno));
        } else {
-               fprintf(fp, "\n# The following line was automatically added by tinc\n%s = %s\n", key, value);
+               fprintf(fp, "%s = %s\n", key, value);
                fclose(fp);
        }
 
-
        return fp != NULL;
 }