summaryrefslogtreecommitdiff
path: root/src/conf_mode/http-api.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2021-09-04 13:23:55 +0700
committerDaniil Baturin <daniil@baturin.org>2021-09-04 23:29:21 +0700
commit30ca5a07498693d820b3728951a184e02cfa61f9 (patch)
tree095ec37731707f8a70e8cc89182e26f118d0238c /src/conf_mode/http-api.py
parent027b48f1c87c1992e360a5c933df859a4067c4b4 (diff)
downloadvyos-1x-30ca5a07498693d820b3728951a184e02cfa61f9.tar.gz
vyos-1x-30ca5a07498693d820b3728951a184e02cfa61f9.zip
T3697: do not try to restart charon if it's not required
The root cause is that the ipsec-settings.py script is run _twice_: first from "vpn ipsec options", then from the top level "vpn" node. The case when it's not required is when: * "vpn ipsec" configuration doesn't exist yet * user configured it with "vpn ipsec options" * the ipsec-settings.py script is run first time, from "vpn ipsec options" Trying to restart charon at that stage leads to a deadlock.
Diffstat (limited to 'src/conf_mode/http-api.py')
0 files changed, 0 insertions, 0 deletions