case BINDPORT6:
setting = config_lookup(&configuration, "bindport6");
if (!setting)
- return DEFAULT_BINDPORT;
+ /* If bindport6 is not specified, we default
+ * to whatever bindport is, rather than always
+ * default to 64738 */
+ return getIntConf(BINDPORT);
else {
return config_setting_get_int(setting);
}
else
return config_setting_get_bool(setting);
break;
+ case SHOW_ADDRESSES:
+ setting = config_lookup(&configuration, "show_addresses");
+ if (!setting)
+ return true;
+ else
+ return config_setting_get_bool(setting);
+ break;
default:
doAssert(false);
}