projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e3d67
)
If check_config, don't start threads, pipes, etc.
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 20 Apr 2015 15:01:45 +0000
(11:01 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 20 Apr 2015 15:01:45 +0000
(11:01 -0400)
src/main/detail.c
patch
|
blob
|
history
diff --git
a/src/main/detail.c
b/src/main/detail.c
index
042d198
..
0431f4c
100644
(file)
--- a/
src/main/detail.c
+++ b/
src/main/detail.c
@@
-1177,6
+1177,11
@@
int detail_parse(CONF_SECTION *cs, rad_listen_t *this)
client->secret = client->shortname;
client->nas_type = talloc_strdup(data, "none"); /* Part of 'data' not dynamically allocated */
+ /*
+ * Only checking the config. Don't start threads or anything else.
+ */
+ if (check_config) return 0;
+
#ifdef WITH_DETAIL_THREAD
/*
* Create the communication pipes.