]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commit
WireGuardKit: Only assign self.settingsGenerator upon success to set tunnel network...
authorAndrej Mihajlov <and@mullvad.net>
Wed, 2 Dec 2020 12:53:58 +0000 (13:53 +0100)
committerAndrej Mihajlov <and@mullvad.net>
Thu, 3 Dec 2020 12:22:52 +0000 (13:22 +0100)
commitb34625f5111358ab0263b446a1774956f2c171e8
treea887981e629cb2c2e5717eada91c03d840373882
parent2e356d3d8f3ea4af13a2d69db2eefefd10b9c9bd
WireGuardKit: Only assign self.settingsGenerator upon success to set tunnel network settings to avoid inconsistent state

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift