vici: Use value based array to store CHILD_SA ids during restart
authorMartin Willi <martin@strongswan.org>
Fri, 4 Dec 2015 08:05:31 +0000 (09:05 +0100)
committerMartin Willi <martin@strongswan.org>
Mon, 7 Dec 2015 09:05:07 +0000 (10:05 +0100)
commit2facf18833fdc55ad72d1828ed62d8856d24430d
tree1f8786d55724514afca8936201a61cb06d09ea9b
parent01caed533b8df3c96fc039a863c8d5f0c64e134d
vici: Use value based array to store CHILD_SA ids during restart

The previous approach stored a pointer to a volatile stack variable, which
works for a single ID, but not for multiple.
src/libcharon/plugins/vici/vici_config.c