From 6d4dbd4f29d6789cf4ea799d0b2eb9d489fa339d Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Mon, 18 Nov 2024 12:08:57 -0800 Subject: session: add auto sdl New CLI to enable/disable auto-sdl (requires session enable rt-backend sdl) auto-sdl [threshold ] [remove-timeout ] threshold is defined as the number of packets before the SDL entry is created to deny the source. remove-timeout is defined as the duration to remove the SDL entry which was created earlier. Type: feature Change-Id: I513094a59663970beae33257006c652674643764 Signed-off-by: Steven Luong --- src/plugins/unittest/session_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/unittest/session_test.c') diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c index 7702e817070..fe4664bda4a 100644 --- a/src/plugins/unittest/session_test.c +++ b/src/plugins/unittest/session_test.c @@ -2504,8 +2504,7 @@ done: return 0; } -VLIB_CLI_COMMAND (tcp_test_command, static) = -{ +VLIB_CLI_COMMAND (session_test_command, static) = { .path = "test session", .short_help = "internal session unit tests", .function = session_test, -- cgit