summaryrefslogtreecommitdiff
path: root/data/config-mode-dependencies
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-03-04 10:23:26 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-03-04 10:23:26 +0000
commit689fea253d9019df20d5c6ac7fa22d5e8454afab (patch)
tree42c062953d0952b1766ce32605a7d4bc8b859ddd /data/config-mode-dependencies
parent70cf2388a184eacc6fb52d9edfb1c930de3bbb6a (diff)
downloadvyos-1x-689fea253d9019df20d5c6ac7fa22d5e8454afab.tar.gz
vyos-1x-689fea253d9019df20d5c6ac7fa22d5e8454afab.zip
T6084: Add NHRP dependency for IPsec and fix NHRP empty config bug
If we have any `vpn ipsec` and `protocol nhrp` configuration we get the empty configuration file `/run/opennhrp/opennhrp.conf` after rebooting the system. Use config dependency instead of the old `resync_nhrp` function fixes this issue
Diffstat (limited to 'data/config-mode-dependencies')
-rw-r--r--data/config-mode-dependencies/vyos-1x.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/config-mode-dependencies/vyos-1x.json b/data/config-mode-dependencies/vyos-1x.json
index 6ab36005b..afe3dd838 100644
--- a/data/config-mode-dependencies/vyos-1x.json
+++ b/data/config-mode-dependencies/vyos-1x.json
@@ -31,6 +31,9 @@
"rpki": ["protocols_rpki"],
"sstp": ["vpn_sstp"]
},
+ "vpn_ipsec": {
+ "nhrp": ["protocols_nhrp"]
+ },
"vpn_l2tp": {
"ipsec": ["vpn_ipsec"]
},