Skip to content

Commit

Permalink
Merge pull request #16665 from louis-6wind/fix-flexalgo-crash-no-te
Browse files Browse the repository at this point in the history
isisd: fix crash at flex-algo without mpls-te
  • Loading branch information
Jafaral authored Aug 27, 2024
2 parents 3150d96 + cd81d28 commit fa7c77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions isisd/isis_te.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ void isis_link_params_update_asla(struct isis_circuit *circuit,
struct isis_ext_subtlvs *ext = circuit->ext;
int i;

if (!ext)
/* no extended subTLVs - nothing to update */
return;

if (!HAS_LINK_PARAMS(ifp)) {
list_delete_all_node(ext->aslas);
return;
Expand Down

0 comments on commit fa7c77f

Please sign in to comment.