Skip to content

Commit

Permalink
Fix notification struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik committed Oct 23, 2023
1 parent af65172 commit 168099f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions syncd/SwitchNotifications.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ namespace syncd

Slot():
SlotBase({
.on_bfd_session_state_change = &Slot<context>::onBfdSessionStateChange,
.on_switch_state_change = &Slot<context>::onSwitchStateChange,
.on_switch_shutdown_request = &Slot<context>::onSwitchShutdownRequest,
.on_fdb_event = &Slot<context>::onFdbEvent,
.on_ipsec_sa_status_change = nullptr,
.on_nat_event = &Slot<context>::onNatEvent,
.on_packet_event = nullptr,
.on_port_host_tx_ready = nullptr,
.on_port_state_change = &Slot<context>::onPortStateChange,
.on_packet_event = nullptr,
.on_queue_pfc_deadlock = &Slot<context>::onQueuePfcDeadlock,
.on_switch_asic_sdk_health_event = nullptr,
.on_switch_shutdown_request = &Slot<context>::onSwitchShutdownRequest,
.on_switch_state_change = &Slot<context>::onSwitchStateChange,
.on_bfd_session_state_change = &Slot<context>::onBfdSessionStateChange,
.on_tam_event = nullptr,
.on_ipsec_sa_status_change = nullptr,
.on_nat_event = &Slot<context>::onNatEvent,
.on_switch_asic_sdk_health_event = nullptr,
.on_port_host_tx_ready = nullptr,
.on_twamp_session_event = nullptr,
}) { }

Expand Down

0 comments on commit 168099f

Please sign in to comment.