added hangling of map[string]*struct

This commit is contained in:
Christian Goll
2022-07-04 19:59:03 +02:00
parent 84d3b72f63
commit 8902f08c87
3 changed files with 13 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ type NetDevs struct {
OnBoot string `yaml:"onboot,omitempty"`
Device string `yaml:"device,omitempty"`
Hwaddr string `yaml:"hwaddr,omitempty"`
Ipaddr string `yaml:"ipaddr,omitempty"`
Ipaddr string `yaml:"ipaddr,omitempty" comment:"IPv4 address" sopt:"I" lopt:"ipaddr"`
IpCIDR string `yaml:"ipcidr,omitempty"`
Ipaddr6 string `yaml:"ip6addr,omitempty"`
Prefix string `yaml:"prefix,omitempty"`