On Чт 28.09.2017 16:09, Francis Dupont wrote:
"test": "relay4[2].text == '100.101.101.0'"
=> please try "test": "relay4[2].hex == 100.101.101.0"
(.text does not return what you want if the (sub-)option is not a string
and IP address litterals are supported).
Regards
Francis Dupont <[email protected]>
Didn't work, because it converts 100.101.101.0 into 4-byte IP address.
For now it works this way "relay4[2].hex==0x3130302e3130312e3130312e30",
but it rather clumsy.
Mikrotik does not allow to specify binary value either.
Some function like relay4[2].string would be nice.
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users