In the README, it is written we can mix IPv4 and IPv6:
| key |
description |
| prefixes |
Array of prefixes, mixed IPv4 and IPv6. At least 1 prefix is required per service |
https://github.com/skoef/birdwatcher/blob/master/README.md?plain=1#L107
But in all Bird versions (1.6, 2.0, 3.0) the doc says a set cannot mix the two
It is not possible to mix IPv4 and IPv6 prefixes in a prefix set. It is currently possible to mix IPv4 and IPv6 addresses in an ip set, but that behavior may change between versions without any warning; don't do it unless you are more than sure what you are doing. (Really, don't do it.)
http://bird.network.cz/?get_doc&v=30&f=bird-5.html#ss5.2
And indeed, bird complains with:
bird: /etc/bird/birdwatcher.conf:7:2 Mixed IPv4/IPv6 prefixes in prefix set
As I understand it, if one wants to mix the two, one shoud create two functions ?
Should the README be updated ?
In the README, it is written we can mix IPv4 and IPv6:
https://github.com/skoef/birdwatcher/blob/master/README.md?plain=1#L107
But in all Bird versions (1.6, 2.0, 3.0) the doc says a set cannot mix the two
http://bird.network.cz/?get_doc&v=30&f=bird-5.html#ss5.2
And indeed, bird complains with:
As I understand it, if one wants to mix the two, one shoud create two functions ?
Should the README be updated ?