From: Felix Morgner Date: Thu, 26 Jan 2017 11:30:42 +0000 (+0100) Subject: Merge pull request #100 from C4K3/scheduler-timing X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=commitdiff_plain;h=a80a3363723e4f8c35acf63274332e20c35616ce;hp=1aa006c5960c17ccb941fc850b29d49cd5c6d1c3 Merge pull request #100 from C4K3/scheduler-timing Set scheduling policy before dropping privileges --- diff --git a/src/conf.c b/src/conf.c index 557e0f8..725aab6 100644 --- a/src/conf.c +++ b/src/conf.c @@ -252,7 +252,10 @@ int getIntConf(param_t param) 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); }