refactor(main): move map_port to network (#2115)
This commit is contained in:
parent
d91e2c9ecb
commit
1c50bc502b
12 changed files with 64 additions and 61 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "misc.h"
|
||||
#include "src/logging.h"
|
||||
#include "src/main.h"
|
||||
#include "src/network.h"
|
||||
#include "src/nvhttp.h"
|
||||
#include "src/platform/common.h"
|
||||
#include "src/utility.h"
|
||||
|
|
@ -349,7 +349,7 @@ namespace platf::publish {
|
|||
name.get(),
|
||||
SERVICE_TYPE,
|
||||
nullptr, nullptr,
|
||||
map_port(nvhttp::PORT_HTTP),
|
||||
net::map_port(nvhttp::PORT_HTTP),
|
||||
nullptr);
|
||||
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue