diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-04 22:02:19 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-04 22:02:19 +0200 |
commit | 6db8c5a63b341d0913afa44457a93a8e83529fb2 (patch) | |
tree | 4adb9b448c68127350afbd6c321439d12125b167 | |
parent | 5dc4b0aae20ef7e6b862af29a3135e018147ce97 (diff) | |
download | bird-6db8c5a63b341d0913afa44457a93a8e83529fb2.tar bird-6db8c5a63b341d0913afa44457a93a8e83529fb2.zip |
pxlen works even in IPv6 mode.
-rw-r--r-- | conf/confbase.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index c303add..7ac07fe 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -111,7 +111,7 @@ bool: pxlen: '/' 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; } | ':' IPA { |