mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-19 16:27:16 +00:00
isisd: fix setting IS type in LSPs
IS type in an LSP is a type of the router, not a type of the circuit. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
a4777e465a
commit
d0f1492145
@ -479,7 +479,7 @@ static uint8_t lsp_bits_generate(int level, int overload_bit, int attached_bit,
|
|||||||
struct isis_area *area)
|
struct isis_area *area)
|
||||||
{
|
{
|
||||||
uint8_t lsp_bits = 0;
|
uint8_t lsp_bits = 0;
|
||||||
if (level == IS_LEVEL_1)
|
if (area->is_type == IS_LEVEL_1)
|
||||||
lsp_bits = IS_LEVEL_1;
|
lsp_bits = IS_LEVEL_1;
|
||||||
else
|
else
|
||||||
lsp_bits = IS_LEVEL_1_AND_2;
|
lsp_bits = IS_LEVEL_1_AND_2;
|
||||||
|
Loading…
Reference in New Issue
Block a user