mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::net: Remove additional defaults and stale comments.
This commit is contained in:
parent
18ec08c92b
commit
4b41efcdc8
1 changed files with 3 additions and 4 deletions
|
@ -1384,7 +1384,7 @@ try
|
||||||
,ep
|
,ep
|
||||||
{
|
{
|
||||||
make_address(unquote(opts.get("host", "*"_sv))),
|
make_address(unquote(opts.get("host", "*"_sv))),
|
||||||
opts.get<uint16_t>("port", 8448L)
|
opts.at<uint16_t>("port")
|
||||||
}
|
}
|
||||||
,a
|
,a
|
||||||
{
|
{
|
||||||
|
@ -2410,7 +2410,7 @@ try
|
||||||
,ep
|
,ep
|
||||||
{
|
{
|
||||||
make_address(unquote(opts.get("host", "*"_sv))),
|
make_address(unquote(opts.get("host", "*"_sv))),
|
||||||
opts.get<uint16_t>("port", 8448L)
|
opts.at<uint16_t>("port")
|
||||||
}
|
}
|
||||||
,a
|
,a
|
||||||
{
|
{
|
||||||
|
@ -4383,8 +4383,7 @@ const
|
||||||
/// Creates a host:service or host:port pair from the single string literally
|
/// Creates a host:service or host:port pair from the single string literally
|
||||||
/// containing the colon deliminated values. If the suffix is a port number
|
/// containing the colon deliminated values. If the suffix is a port number
|
||||||
/// then the behavior for the port number constructor applies; if a service
|
/// then the behavior for the port number constructor applies; if a service
|
||||||
/// string then the service constructor applies; if empty (just a hostname)
|
/// string then the service constructor applies.
|
||||||
/// then service "matrix" is assumed with port 8448 fallback.
|
|
||||||
ircd::net::hostport::hostport(const string_view &amalgam)
|
ircd::net::hostport::hostport(const string_view &amalgam)
|
||||||
:host
|
:host
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue