aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/updown
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-11-07 20:56:30 +0100
committerTobias Brunner <tobias@strongswan.org>2014-01-23 10:27:12 +0100
commit7e3bbcf77a27627455ef67c433fc70e5fd0f70e3 (patch)
treef8d987f4c0fe91d5ecf6b093670e51799fee06a0 /src/libcharon/plugins/updown
parent6d1198e71d3bd8e2f3b5c1fc1f3348807433d851 (diff)
downloadstrongswan-7e3bbcf77a27627455ef67c433fc70e5fd0f70e3.tar.bz2
strongswan-7e3bbcf77a27627455ef67c433fc70e5fd0f70e3.tar.xz
updown: Increase buffer size for script and environment variables
Diffstat (limited to 'src/libcharon/plugins/updown')
-rw-r--r--src/libcharon/plugins/updown/updown_listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/updown/updown_listener.c b/src/libcharon/plugins/updown/updown_listener.c
index e62309760..2c3f93298 100644
--- a/src/libcharon/plugins/updown/updown_listener.c
+++ b/src/libcharon/plugins/updown/updown_listener.c
@@ -219,7 +219,7 @@ METHOD(listener_t, child_updown, bool,
enumerator = child_sa->create_policy_enumerator(child_sa);
while (enumerator->enumerate(enumerator, &my_ts, &other_ts))
{
- char command[1024];
+ char command[2048];
host_t *my_client, *other_client;
u_int8_t my_client_mask, other_client_mask;
char *virtual_ip, *iface, *mark_in, *mark_out, *udp_enc, *dns, *xauth;