Skip to content

Commit 4bff5c6

Browse files
authored
Skip bfd notification during switch create (#2139)
*Do not register for BFD notification during switch create for all platforms
1 parent 79472e3 commit 4bff5c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

orchagent/main.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,6 @@ int main(int argc, char **argv)
297297
attr.value.ptr = (void *)on_port_state_change;
298298
attrs.push_back(attr);
299299

300-
attr.id = SAI_SWITCH_ATTR_BFD_SESSION_STATE_CHANGE_NOTIFY;
301-
attr.value.ptr = (void *)on_bfd_session_state_change;
302-
attrs.push_back(attr);
303-
304300
attr.id = SAI_SWITCH_ATTR_SHUTDOWN_REQUEST_NOTIFY;
305301
attr.value.ptr = (void *)on_switch_shutdown_request;
306302
attrs.push_back(attr);

0 commit comments

Comments
 (0)