[strongSwan-dev] python vici load-conn - possible bug
Tobias Brunner
tobias at strongswan.org
Wed Apr 26 14:51:07 CEST 2017
Hi Vijaya,
> So when I create a dictionary for the ipsec config and do a load_conn I
> got the error as unable to concat bytes and string.
> And I realized that this is because in the _named_request method above,
> we are packing request instead of requestdata.
> Possibly we need to change the length being passed to pack also.
>
> When I replace request with requestdata, the error goes away and it
> proceeds with the trying to parse/load the connection from configuration.
A fix for this is already in master [1].
Regards,
Tobias
[1] https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0d66b01a
More information about the Dev
mailing list