Skip to content

Commit

Permalink
socktap: fix v2 dummy security entity
Browse files Browse the repository at this point in the history
  • Loading branch information
riebl committed Oct 21, 2024
1 parent d308ba2 commit a02dfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/socktap/security.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ create_security_entity(const po::variables_map& vm, const Runtime& runtime, Posi
} else if (name == "dummy" || name == "dummy-v3") {
security = create_dummy_v3_security_entity(runtime);
} else if (name == "dummy-v2") {
security == create_dummy_v2_security_entity(runtime);
security = create_dummy_v2_security_entity(runtime);
} else if (name == "certs" || name == "certs-v3" || name == "certs-v2") {
const unsigned version = name == "certs-v2" ? 2 : 3;

Expand Down

0 comments on commit a02dfc3

Please sign in to comment.