diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2023-12-07 14:53:16 +0100 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2023-12-08 13:47:34 +0100 |
| commit | 397dbbcae6083a00f30ad8310160650ec7ac7a87 (patch) | |
| tree | 67420b51cb458090ffdc2b8415503eac4a1e8d39 /lib/netns_linux.c | |
| parent | cad5ee56be313c3d5b96082a5133435839af6cca (diff) | |
ospfd: Correct SID check size
Segment Router Identifier (SID) could be an index (4 bytes) within a range
(SRGB or SRLB) or an MPLS label (3 bytes). Thus, before calling check_size
macro to verify SID TLVs size, it is mandatory to determine the SID type to
avoid wrong assert.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions
