]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Fix updown script in route-based/net2net-xfrmi-ike scenario
authorTobias Brunner <tobias@strongswan.org>
Tue, 21 Sep 2021 10:40:52 +0000 (12:40 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 21 Sep 2021 10:50:12 +0000 (12:50 +0200)
commit6467f0416f2dc2612ef77a0d158df4a43849a872
tree594511d097544965db4f058fdc0a575ff2405a2b
parent3e2841572bd6f5dfd0d3641472f00eefa4d83d7a
testing: Fix updown script in route-based/net2net-xfrmi-ike scenario

With the update to Python 3 the encoding of the values in vici messages
changed to bytestrings (the keys are properly decoded).  And getting the
first CHILD_SA also needs a change.

The logger is now also initialized after daemonizing to avoid that opened
sockets are closed etc.
testing/tests/route-based/net2net-xfrmi-ike/hosts/sun/etc/updown.py