Add IPv6 configuration option

Disabled in the default config file, but enabled by default if not specified,
for backward compatibility.
This commit is contained in:
Julien BLACHE 2011-03-20 12:10:51 +01:00
parent 1f2a1e65c0
commit f4d6287f17
2 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,8 @@ general {
loglevel = log
# Admin password for the non-existent web interface
admin_password = "unused"
# Enable/disable IPv6
ipv6 = no
}
# Library configuration

View File

@ -47,6 +47,7 @@ static cfg_opt_t sec_general[] =
CFG_STR("logfile", STATEDIR "/log/" PACKAGE ".log", CFGF_NONE),
CFG_STR("db_path", STATEDIR "/cache/" PACKAGE "/songs3.db", CFGF_NONE),
CFG_INT_CB("loglevel", E_LOG, CFGF_NONE, &cb_loglevel),
CFG_BOOL("ipv6", cfg_true, CFGF_NONE),
CFG_END()
};