Skip to content

Commit

Permalink
zebra: notify status for for SR Policy updates
Browse files Browse the repository at this point in the history
Signed-off-by: GalaxyGorilla <sascha@netdef.org>
  • Loading branch information
GalaxyGorilla committed Apr 15, 2020
1 parent 3ebb446 commit d1ad79e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zebra/zebra_srte.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ static void zebra_sr_policy_update(struct zebra_sr_policy *policy,
(void)zebra_sr_policy_bsid_install(policy);
}

zsend_sr_policy_notify_status(policy->color, &policy->endpoint,
policy->name, ZEBRA_SR_POLICY_UP);

/* Handle segment-list update. */
if (policy->segment_list.label_num != old_tunnel->label_num
|| memcmp(policy->segment_list.labels, old_tunnel->labels,
Expand Down

0 comments on commit d1ad79e

Please sign in to comment.