diff options
| author | Karen Schoener <karen@voltanet.io> | 2021-06-17 09:26:36 -0400 |
|---|---|---|
| committer | Karen Schoener <karen@voltanet.io> | 2021-06-28 10:32:52 -0400 |
| commit | 0b4124c18cb826849f18af58dbc712db7d14b993 (patch) | |
| tree | 28ff0015d6f7f93ebc5585ca867686a4513a20c9 /lib/zclient.h | |
| parent | 0e5572bc63f93c19ceb296f12b458fc728770f0e (diff) | |
isisd, ospfd: update interface_link_params callback to check for change
Adding defensive code to the interface_link_params zebra callback
to check if the link params changed before taking action.
Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 48de3425be..a25c5800b7 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -1043,7 +1043,8 @@ extern struct interface *zebra_interface_vrf_update_read(struct stream *s, extern int zebra_router_id_update_read(struct stream *s, struct prefix *rid); extern struct interface *zebra_interface_link_params_read(struct stream *s, - vrf_id_t vrf_id); + vrf_id_t vrf_id, + bool *changed); extern size_t zebra_interface_link_params_write(struct stream *, struct interface *); extern enum zclient_send_status |
