mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-04-29 15:38:00 +00:00
IPV6 related Message board changes. (#284)
This commit is contained in:
committed by
GitHub
parent
20cfbbfad0
commit
8bcb2db9b0
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace msg
|
||||
std::string pubkey;
|
||||
std::string contract_id;
|
||||
std::string image;
|
||||
std::string outbound_ipv6;
|
||||
std::string outbound_net_interface;
|
||||
};
|
||||
|
||||
struct history_configuration
|
||||
@@ -172,6 +174,8 @@ namespace msg
|
||||
constexpr const char *FLD_CONTAINER_NAME = "container_name";
|
||||
constexpr const char *FLD_CONTRACT_ID = "contract_id";
|
||||
constexpr const char *FLD_IMAGE = "image";
|
||||
constexpr const char *FLD_OUTBOUND_IPV6 = "outbound_ipv6";
|
||||
constexpr const char *FLD_OUTBOUND_NET_INTERFACE = "outbound_net_interface";
|
||||
constexpr const char *FLD_KNOWN_PEERS = "known_peers";
|
||||
constexpr const char *FLD_MESH = "mesh";
|
||||
constexpr const char *FLD_USER = "user";
|
||||
|
||||
Reference in New Issue
Block a user