mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd::server: Add conf item to toggle ipv6 use.
This commit is contained in:
parent
28569176f2
commit
672e9dd712
2 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,7 @@ struct ircd::server::peer
|
|||
struct err;
|
||||
|
||||
static constexpr const size_t &LINK_MAX{16};
|
||||
static conf::item<bool> enable_ipv6;
|
||||
static conf::item<size_t> link_min_default;
|
||||
static conf::item<size_t> link_max_default;
|
||||
static conf::item<seconds> error_clear_default;
|
||||
|
|
|
@ -378,6 +378,13 @@ decltype(ircd::server::peers)
|
|||
ircd::server::peers
|
||||
{};
|
||||
|
||||
decltype(ircd::server::peer::enable_ipv6)
|
||||
ircd::server::peer::enable_ipv6
|
||||
{
|
||||
{ "name", "ircd.server.peer.enable_ipv6" },
|
||||
{ "default", true }
|
||||
};
|
||||
|
||||
decltype(ircd::server::peer::link_min_default)
|
||||
ircd::server::peer::link_min_default
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue