projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
1aa006c
)
Merge pull request #100 from C4K3/scheduler-timing
author
Felix Morgner
<felix.morgner@gmail.com>
Thu, 26 Jan 2017 11:30:42 +0000
(12:30 +0100)
committer
GitHub
<noreply@github.com>
Thu, 26 Jan 2017 11:30:42 +0000
(12:30 +0100)
Set scheduling policy before dropping privileges
src/conf.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index 557e0f86b18fc9b9e096ecf50de741321a1055a7..725aab6ab19bfe550ce27eb8890e0992c03dc080 100644
(file)
--- 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);
}