forked from containers/netavark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup/teardown: also go through port forwarding when no mapping
Use an empty vec if port_bindings is None, so we can always go through port binding setup and teardown as long as an IP is set. This is a requirement to setup port forwarding for DNS requests when binding aardvark-dns to an ephemeral port as that defines its own port forwarding. Signed-off-by: Dominique Martinet <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters