mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
babel: fix incorrect check in known_ae()
The known_ae() function accepts AE values up to 4, but the RFC only defines AE values 0-3. Signed-off-by: zmw12306 <zmw12306@gmail.com>
This commit is contained in:
parent
44c4743e08
commit
16a0458dbc
|
@ -52,7 +52,7 @@ static const unsigned char tlv_min_length[MESSAGE_MAX + 1] =
|
|||
static bool
|
||||
known_ae(int ae)
|
||||
{
|
||||
return ae <= 4;
|
||||
return ae <= 3;
|
||||
}
|
||||
|
||||
/* Parse a network prefix, encoded in the somewhat baroque compressed
|
||||
|
|
Loading…
Reference in a new issue