diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2020-11-24 23:38:11 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2020-11-25 00:15:52 +0100 |
commit | 2d560b3d6dfdd184d104242196266c8baea1ffcd (patch) | |
tree | 3f9f200eb14d377129ed3c27c0305b3d3abc113d /isisd/isis_spf.h | |
parent | yang, isisd: add LFA nodes, NB skeleton callbacks and CLI commands (diff) | |
download | frr-2d560b3d6dfdd184d104242196266c8baea1ffcd.tar.xz frr-2d560b3d6dfdd184d104242196266c8baea1ffcd.zip |
isisd: store LSPs associated to all SPF adjacencies
Instead of storing the LSP associated to pseudonodes only, store the
LSP associated to all SPF adjacencies instead.
The upcoming LFA work will need to have that piece of information
for all SPF adjacencies in order to know which ones have the overload
bit set or not. Other use cases might arise in the future.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_spf.h')
-rw-r--r-- | isisd/isis_spf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_spf.h b/isisd/isis_spf.h index ad15d3e3c..e11495df4 100644 --- a/isisd/isis_spf.h +++ b/isisd/isis_spf.h @@ -39,9 +39,9 @@ struct isis_spf_adj { struct isis_adjacency *adj; uint32_t metric; struct isis_ext_subtlvs *subtlvs; + struct isis_lsp *lsp; struct { uint8_t desig_is_id[ISIS_SYS_ID_LEN + 1]; - struct isis_lsp *lsp_pseudo; } lan; uint8_t flags; #define F_ISIS_SPF_ADJ_BROADCAST 0x01 |