]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - src/libcharon/plugins/updown/updown_listener.c
updown: Increase buffer size for script and environment variables
[thirdparty/strongswan.git] / src / libcharon / plugins / updown / updown_listener.c
index e62309760c58f82d91737ef1460bc2948fc91e69..2c3f932983d87b067c3f33a631755ceaff28b70c 100644 (file)
@@ -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;