mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
pxlen works even in IPv6 mode.
This commit is contained in:
parent
5dc4b0aae2
commit
6db8c5a63b
@ -111,7 +111,7 @@ bool:
|
|||||||
|
|
||||||
pxlen:
|
pxlen:
|
||||||
'/' NUM {
|
'/' NUM {
|
||||||
if ($2 < 0 || $2 > 32) cf_error("Invalid prefix length %d", $2);
|
if ($2 < 0 || $2 > BITS_PER_IP_ADDRESS) cf_error("Invalid prefix length %d", $2);
|
||||||
$$ = $2;
|
$$ = $2;
|
||||||
}
|
}
|
||||||
| ':' IPA {
|
| ':' IPA {
|
||||||
|
Loading…
Reference in New Issue
Block a user