Merge pull request #18585 from zmw12306/babel-knownae

babel: fix incorrect check in known_ae()
This commit is contained in:
Russ White 2025-04-08 10:55:24 -04:00 committed by GitHub
commit e9e9b2ba7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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