mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 22:30:52 +00:00
isisd: Init SRv6 enabled flag to its default value
When SRv6 is initialized on a given IS-IS area, set the administrative enabled status to the default value defined by the YANG model. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
7487c97c82
commit
3ffdeb64b7
@ -31,6 +31,9 @@ void isis_srv6_area_init(struct isis_area *area)
|
|||||||
|
|
||||||
/* Initialize SRv6 Data Base */
|
/* Initialize SRv6 Data Base */
|
||||||
memset(srv6db, 0, sizeof(*srv6db));
|
memset(srv6db, 0, sizeof(*srv6db));
|
||||||
|
|
||||||
|
/* Pull defaults from the YANG module */
|
||||||
|
srv6db->config.enabled = yang_get_default_bool("%s/enabled", ISIS_SRV6);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user