bugfix: reasion -> reason

This commit is contained in:
luwenpeng
2024-03-08 13:33:49 +08:00
parent 62c70d0d67
commit 31c9303a93
14 changed files with 89 additions and 89 deletions

View File

@@ -59,7 +59,7 @@ TEST(OVERLOAD, EVICT_TCP_OLD_SESS)
sess = session_manager_get_evicted_session(mgr);
EXPECT_TRUE(sess);
EXPECT_TRUE(session_get_state(sess) == SESSION_STATE_CLOSING);
EXPECT_TRUE(session_get_closing_reasion(sess) == CLOSING_BY_EVICTED);
EXPECT_TRUE(session_get_closing_reason(sess) == CLOSING_BY_EVICTED);
packet_parse(&pkt, (const char *)tcp_pkt1_c2s_syn, sizeof(tcp_pkt1_c2s_syn));
overwrite_ipv4_saddr(&pkt, 1);