diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-26 19:24:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-26 19:28:17 +0200 |
commit | 0d7cd4ed5725d3e79faad5abc0801631c2ffc813 (patch) | |
tree | cedbcf9f9ddcc02ce17dfd70222d9dc138847b00 /src/conf_mode/protocols_nhrp.py | |
parent | cf05add82e5469c9befefd6b52936c6b2fedda88 (diff) | |
download | vyos-1x-0d7cd4ed5725d3e79faad5abc0801631c2ffc813.tar.gz vyos-1x-0d7cd4ed5725d3e79faad5abc0801631c2ffc813.zip |
vxlan: T3867: add multicast validator for group address
The group CLI node takes a multicast IPv4 or IPv6 address - this must be input
validated to not case any OS exception
cpo@LR1.wue3# show interfaces vxlan
vxlan vxlan0 {
+ group 254.0.0.1
source-address 172.18.254.201
+ source-interface dum0
vni 10
}
Results in OSError beeing rasied with the following context:
Error: argument "254.0.0.1" is wrong: invalid group address
Diffstat (limited to 'src/conf_mode/protocols_nhrp.py')
0 files changed, 0 insertions, 0 deletions