diff options
-rw-r--r-- | isisd/isis_lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index c0b74a904..5c013d634 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -479,7 +479,7 @@ static uint8_t lsp_bits_generate(int level, int overload_bit, int attached_bit, struct isis_area *area) { uint8_t lsp_bits = 0; - if (level == IS_LEVEL_1) + if (area->is_type == IS_LEVEL_1) lsp_bits = IS_LEVEL_1; else lsp_bits = IS_LEVEL_1_AND_2; |