summaryrefslogtreecommitdiff
path: root/pkg/specgen/specgen.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-03 17:15:46 +0100
committerGitHub <noreply@github.com>2021-11-03 17:15:46 +0100
commit4105b025d60dd6d067fa293de11c45dcfd7ea30e (patch)
tree8e5f61e3adc5cb03d57a71a1998999d9d7587bb4 /pkg/specgen/specgen.go
parenta245da1e52b63c451f4683f7a9b225aa49521939 (diff)
parent001d48929dcbe4f3a8eeb3db2a7bfdce5a90f81a (diff)
downloadpodman-4105b025d60dd6d067fa293de11c45dcfd7ea30e.tar.gz
podman-4105b025d60dd6d067fa293de11c45dcfd7ea30e.tar.bz2
podman-4105b025d60dd6d067fa293de11c45dcfd7ea30e.zip
Merge pull request #12166 from Luap99/mac
MAC address json unmarshal should allow strings
Diffstat (limited to 'pkg/specgen/specgen.go')
-rw-r--r--pkg/specgen/specgen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go
index 5a07af0f9..593d91c64 100644
--- a/pkg/specgen/specgen.go
+++ b/pkg/specgen/specgen.go
@@ -401,7 +401,7 @@ type ContainerNetworkConfig struct {
// StaticMAC is a static MAC address to set in the container.
// Only available if NetNS is set to bridge.
// Optional.
- StaticMAC *net.HardwareAddr `json:"static_mac,omitempty"`
+ StaticMAC *nettypes.HardwareAddr `json:"static_mac,omitempty"`
// PortBindings is a set of ports to map into the container.
// Only available if NetNS is set to bridge or slirp.
// Optional.