IPV6 related Message board changes. (#284)

This commit is contained in:
Kithmini Gunawardhana
2023-09-23 10:00:58 +05:30
committed by GitHub
parent 20cfbbfad0
commit 8bcb2db9b0
22 changed files with 798 additions and 1250 deletions

View File

@@ -135,6 +135,8 @@ namespace msg::json
msg.pubkey = d[msg::FLD_PUBKEY].as<std::string>();
msg.contract_id = d[msg::FLD_CONTRACT_ID].as<std::string>();
msg.image = d[msg::FLD_IMAGE].as<std::string>();
msg.outbound_ipv6 = d[msg::FLD_OUTBOUND_IPV6].is<std::string>() ? d[msg::FLD_OUTBOUND_IPV6].as<std::string>() : "-";
msg.outbound_net_interface = d[msg::FLD_OUTBOUND_NET_INTERFACE].is<std::string>() ? d[msg::FLD_OUTBOUND_NET_INTERFACE].as<std::string>() : "-";
return 0;
}