diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-16 12:52:26 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-16 14:08:56 +0000 |
commit | 535228d888fedcc239bf4fa1be962fbd74259ca9 (patch) | |
tree | 4443917b40592bedc0b7039c35fae59792438241 /data/templates/firewall | |
parent | d6a33db00d113f4c7138e9c0179b74507aa8078e (diff) | |
download | vyos-1x-535228d888fedcc239bf4fa1be962fbd74259ca9.tar.gz vyos-1x-535228d888fedcc239bf4fa1be962fbd74259ca9.zip |
T5889: Fix migration scripts nat 5-to-6
The current migration drop interface name for NAT where not should
```
nat {
source {
rule 100 {
outbound-interface {
name "eth0"
...
}
}
}
```
After migration we lost interface:
/home/vyos# /opt/vyatta/etc/config-migrate/migrate/nat/5-to-6 tmp.conf
/home/vyos#
/home/vyos# cat tmp.conf | grep "nat {" -A 10
nat {
source {
rule 100 {
outbound-interface {
interface-name ""
...
}
}
}
```
This commit fixes it.
(cherry picked from commit 813237d9766f636394b9ab385bb825fbf83202b3)
Diffstat (limited to 'data/templates/firewall')
0 files changed, 0 insertions, 0 deletions