BUG: (another one) ipsec policy netmask
Posted: Mon Jun 19, 2017 12:11 pm
Another bug, causing some of our scripts to fail:
Generally an iP address with netmask can be entered via CLI like this, for example setting the IP address:
or
Starting with 6.39.1 this doesn't work with ipsec policy anymore:
Entering netmask in the form /24 instead of 255.255.255.0 still works.
Seems that only ipsec policy is affected by this bug.
Please correct.
Uwe
Generally an iP address with netmask can be entered via CLI like this, for example setting the IP address:
Code: Select all
/ip address
add address=192.168.88.1/24 interface=bridge
Code: Select all
add address=192.168.88.1/255.255.255.0 interface=bridge
Code: Select all
/ip ipsec policy
add dst-address=4.4.4.0/24 level=unique proposal=default sa-dst-address=1.2.3.4 sa-src-address=0.0.0.0 src-address=192.168.88.0/255.255.255.0 tunnel=yes
invalid value for argument src-address:
value of prefix6 must have IPv6 address before '/'
value of prefix4 must have number address after '/'
Seems that only ipsec policy is affected by this bug.
Please correct.
Uwe