Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add default web server port host label#20785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
stelfrag wants to merge1 commit intonetdata:master
base:master
Choose a base branch
Loading
fromstelfrag:web_port_host_label

Conversation

@stelfrag
Copy link
Collaborator

Summary
  • Add_web_listen_port host label
    • Will be '0' ifmode = none

return1;

chardefault_port_str[16];
uint16_tdefault_port= (web_server_mode==WEB_SERVER_MODE_NONE) ?0 :web_server_get_default_port();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is wrong ifbind to port !=default port.

With the following config:

[web]bind to = 10.10.10.20:19997 10.10.10.20:19998

I get

"host_labels": {"_web_listen_port": "19999",

Is that easy to fix? If yes, let's do it now. Otherwise, let's add TODO.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ilyam8ilyam8ilyam8 left review comments

@thiagoftsmthiagoftsmAwaiting requested review from thiagoftsmthiagoftsm will be requested when the pull request is marked ready for reviewthiagoftsm is a code owner

@vkalintirisvkalintirisAwaiting requested review from vkalintirisvkalintiris will be requested when the pull request is marked ready for reviewvkalintiris is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@stelfrag@ilyam8

[8]ページ先頭

©2009-2025 Movatter.jp