X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=isisd%2Fisisd.c;h=47d2e9faabd96d76bccf439cab964c5709776e32;hb=d25827acfbeb326d658b88857c8db3a650331605;hp=f15d7a9c7eccca6e42c4d9ac567ae36ba391b2ef;hpb=f9688ae6594145a7e108fd39ec4b2169f219e0ed;p=mirror_frr.git diff --git a/isisd/isisd.c b/isisd/isisd.c index f15d7a9c7..47d2e9faa 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -107,13 +107,10 @@ struct isis_area *isis_area_create(const char *area_tag) /* * Fabricd runs only as level-2. - * For IS-IS, the first instance is level-1-2 rest are level-1, - * unless otherwise configured + * For IS-IS, the default is level-1-2 */ - if (fabricd) { + if (fabricd) area->is_type = IS_LEVEL_2; - } else if (listcount(isis->area_list) == 0) - area->is_type = IS_LEVEL_1_AND_2; else area->is_type = yang_get_default_enum( "/frr-isisd:isis/instance/is-type");