Skip to content

Add a Pool::insert_ip_net_any_port function. - #299

Merged
sunfishcode merged 2 commits into
mainfrom
sunfishcode/any-port
Mar 16, 2023
Merged

Add a Pool::insert_ip_net_any_port function.#299
sunfishcode merged 2 commits into
mainfrom
sunfishcode/any-port

Conversation

@sunfishcode

Copy link
Copy Markdown
Member

Add a function to Pool to allow inserting a network that can accept any port.

@sunfishcode
sunfishcode force-pushed the sunfishcode/any-port branch from 1fc960f to 543d087 Compare March 15, 2023 22:15
Add a function to `Pool` to allow inserting a network that can accept
any port.
@sunfishcode
sunfishcode force-pushed the sunfishcode/any-port branch from 543d087 to 0bfe703 Compare March 16, 2023 13:17
@sunfishcode

Copy link
Copy Markdown
Member Author

This also now adds support for port ranges. And std::net doesn't do IANA port name lookups, so this removes the TODO for that as well.

@sunfishcode
sunfishcode merged commit c7b2e50 into main Mar 16, 2023
@sunfishcode
sunfishcode deleted the sunfishcode/any-port branch March 16, 2023 13:29
sunfishcode added a commit that referenced this pull request Mar 16, 2023
* Add a `Pool::insert_ip_net_any_port` function.

Add a function to `Pool` to allow inserting a network that can accept
any port.

* Add support for port ranges, and add some unit tests.
sunfishcode added a commit that referenced this pull request Mar 16, 2023
* Add a `Pool::insert_ip_net_any_port` function.

Add a function to `Pool` to allow inserting a network that can accept
any port.

* Add support for port ranges, and add some unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant