diff options
author | Yuxiang Zhu <vfreex@gmail.com> | 2022-12-27 17:47:56 +0800 |
---|---|---|
committer | Yuxiang Zhu <vfreex@gmail.com> | 2022-12-27 18:03:10 +0800 |
commit | ea802233e3da193a689b1690cc9026fd927cb6fa (patch) | |
tree | 7e0d98202ee56700bc10e246096695729dcb7a44 /templates/protocols/ripng/passive-interface/node.def | |
parent | d13fe84487444c8a71fbbb7623ae81b6a2edb83d (diff) | |
download | vyatta-cfg-quagga-ea802233e3da193a689b1690cc9026fd927cb6fa.tar.gz vyatta-cfg-quagga-ea802233e3da193a689b1690cc9026fd927cb6fa.zip |
T4896: ospfv3: Fix broken not-advertise option
Config option `protocols ospfv3 area <number> range <prefix>
not-advertise` is broken and behaves exactly same as `advertise`.
Steps to reproduce:
```
set protocols ospfv3 area 16 range 2000::/4 not-advertise
```
Actual result:
```
$ vtysh -c 'show run'
!
router ospf6
area 16 range 2000::/4
```
Expected result:
```
$ vtysh -c 'show run'
!
router ospf6
area 16 range 2000::/4 not-advertise
```
It seems to me that `templates/protocols/ospfv3/area/node.tag/range/node.def` overwrites `area $AREA range $RANGE` even if
child node `no-advertise` is set. It seems to me the scripts in that
file is used to make child option `advertise` optional. This PR changes
it to only run when children options (advertise, not-advertise) are not
set.
Diffstat (limited to 'templates/protocols/ripng/passive-interface/node.def')
0 files changed, 0 insertions, 0 deletions