diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-01-11 15:30:38 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-01-11 16:10:01 +0100 |
commit | f04465bfe688e91f6097ec04e4af93b7d78a6908 (patch) | |
tree | e8ccbfcfc3ec39b9a714d98dcf688e1424b35384 /pkg/specgen/generate/ports.go | |
parent | 0464011a8ea705b31cf270407e76608c223c2f21 (diff) | |
download | podman-f04465bfe688e91f6097ec04e4af93b7d78a6908.tar.gz podman-f04465bfe688e91f6097ec04e4af93b7d78a6908.tar.bz2 podman-f04465bfe688e91f6097ec04e4af93b7d78a6908.zip |
fix host.containers.internal entry for macvlan networks
For ip/macvlan networks we cannot use the gateway as address for this
hostname. In this case the gateway is normally not on the host so we
just try to use a local ip instead.
[NO NEW TESTS NEEDED] We cannot run macvlan networks in CI.
Fixes #11351
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/specgen/generate/ports.go')
0 files changed, 0 insertions, 0 deletions