mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 16:17:38 +00:00
ospfd: allow for zero length opaque LSAs (which is permitted per RFC 5250)
Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
1e75c40c1c
commit
0b91fce78b
@ -77,7 +77,7 @@
|
||||
|
||||
#define OPAQUE_TYPE_RANGE_RESERVED(type) (127 < (type) && (type) <= 255)
|
||||
|
||||
#define OSPF_OPAQUE_LSA_MIN_SIZE 4U
|
||||
#define OSPF_OPAQUE_LSA_MIN_SIZE 0 /* RFC5250 imposes no minimum */
|
||||
|
||||
#define VALID_OPAQUE_INFO_LEN(lsahdr) \
|
||||
((ntohs((lsahdr)->length) >= sizeof(struct lsa_header)) \
|
||||
|
Loading…
Reference in New Issue
Block a user