diff --git a/orchagent/notifications.cpp b/orchagent/notifications.cpp index 1a4952637016..297b8d48506f 100644 --- a/orchagent/notifications.cpp +++ b/orchagent/notifications.cpp @@ -23,7 +23,7 @@ void on_bfd_session_state_change(uint32_t count, sai_bfd_session_state_notificat // which causes concurrency access to the DB } -void on_switch_shutdown_request() +void on_switch_shutdown_request(sai_object_id_t switch_id) { SWSS_LOG_ENTER(); diff --git a/orchagent/notifications.h b/orchagent/notifications.h index ea22593a1f06..61e8422db022 100644 --- a/orchagent/notifications.h +++ b/orchagent/notifications.h @@ -7,4 +7,7 @@ extern "C" { void on_fdb_event(uint32_t count, sai_fdb_event_notification_data_t *data); void on_port_state_change(uint32_t count, sai_port_oper_status_notification_t *data); void on_bfd_session_state_change(uint32_t count, sai_bfd_session_state_notification_t *data); -void on_switch_shutdown_request(); + +// The function prototype information can be found here: +// https://github.com/sonic-net/sonic-sairedis/blob/master/meta/NotificationSwitchShutdownRequest.cpp#L49 +void on_switch_shutdown_request(sai_object_id_t switch_id);