diff options
author | 2024-11-18 12:08:57 -0800 | |
---|---|---|
committer | 2024-12-23 21:28:08 +0000 | |
commit | 6d4dbd4f29d6789cf4ea799d0b2eb9d489fa339d (patch) | |
tree | 3c1b6b1d56bd86a1d6a99e36c020a81f54a43f8b /src/plugins/unittest/session_test.c | |
parent | 755690c6c31671bdce4771db04199e151c32c5d0 (diff) |
session: add auto sdl
New CLI to enable/disable auto-sdl (requires session enable rt-backend sdl)
auto-sdl <enable|disable> [threshold <n>] [remove-timeout <t>]
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 <sluong@cisco.com>
Diffstat (limited to 'src/plugins/unittest/session_test.c')
-rw-r--r-- | src/plugins/unittest/session_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, |