diff --git a/src/libmerc/ike.hpp b/src/libmerc/ike.hpp index b6dbfc9b..9332d261 100644 --- a/src/libmerc/ike.hpp +++ b/src/libmerc/ike.hpp @@ -171,8 +171,8 @@ namespace ike { if (!valid) { return; } o.print_key_hex("initiator_spi", initiator_spi); o.print_key_hex("responder_spi", responder_spi); - o.print_key_uint("major version", version.slice<0,4>()); - o.print_key_uint("minor version", version.slice<4,8>()); + o.print_key_uint("major_version", version.slice<0,4>()); + o.print_key_uint("minor_version", version.slice<4,8>()); exchange.write_json(o); o.print_key_bool("response", flags.bit<2>()); o.print_key_bool("version", flags.bit<3>());