aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/network/sender.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-04-24 14:10:06 +0200
committerTobias Brunner <tobias@strongswan.org>2012-05-03 13:57:04 +0200
commit42500c274a0858ee27fc5d54b02b90809f2ecd87 (patch)
treeb9e95d636311a08fc4639e73a4d12ab7273afc91 /src/libcharon/network/sender.c
parent18758e3d2ea173b798a827917e4f8a1f9c4bc9a2 (diff)
downloadstrongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.bz2
strongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.xz
Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
Diffstat (limited to 'src/libcharon/network/sender.c')
-rw-r--r--src/libcharon/network/sender.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcharon/network/sender.c b/src/libcharon/network/sender.c
index 6d5ad8f2a..c0dabd020 100644
--- a/src/libcharon/network/sender.c
+++ b/src/libcharon/network/sender.c
@@ -192,13 +192,13 @@ sender_t * sender_create()
.job = callback_job_create_with_prio((callback_job_cb_t)send_packets,
this, NULL, NULL, JOB_PRIO_CRITICAL),
.send_delay = lib->settings->get_int(lib->settings,
- "charon.send_delay", 0),
+ "%s.send_delay", 0, charon->name),
.send_delay_type = lib->settings->get_int(lib->settings,
- "charon.send_delay_type", 0),
+ "%s.send_delay_type", 0, charon->name),
.send_delay_request = lib->settings->get_bool(lib->settings,
- "charon.send_delay_request", TRUE),
+ "%s.send_delay_request", TRUE, charon->name),
.send_delay_response = lib->settings->get_int(lib->settings,
- "charon.send_delay_response", TRUE),
+ "%s.send_delay_response", TRUE, charon->name),
);
lib->processor->queue_job(lib->processor, (job_t*)this->job);