diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-15 11:27:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 11:27:00 +0100 |
commit | 24c6248a25f2d5edaf7dad762e222b139f3b529b (patch) | |
tree | c942a947300a92a6a4bab34503d7d79d7280f9d9 /src/etc/dhcp | |
parent | 10bcf51362a05be881db315ca1892ea1f3384b63 (diff) | |
parent | c044a999b487d9e6fae1ac171d4bf20d60d2f33f (diff) | |
download | vyos-1x-24c6248a25f2d5edaf7dad762e222b139f3b529b.tar.gz vyos-1x-24c6248a25f2d5edaf7dad762e222b139f3b529b.zip |
Merge pull request #2827 from vyos/mergify/bp/sagitta/pr-2823
T4856: Fix IPsec DHCP-client exit hook (backport #2823)
Diffstat (limited to 'src/etc/dhcp')
-rwxr-xr-x | src/etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook index c7a92fe26..e6edc1ac3 100755 --- a/src/etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook +++ b/src/etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook @@ -71,10 +71,6 @@ if __name__ == '__main__': conf_lines[i] = line.replace(old_ip, new_ip) found = True - for i, line in enumerate(secrets_lines): - if line.find(to_match) > 0: - secrets_lines[i] = line.replace(old_ip, new_ip) - if found: write_file(SWANCTL_CONF, conf_lines) ipsec_down(old_ip) |