typo
This commit is contained in:
parent
76eb21a8d5
commit
57225c5b90
|
@ -18,7 +18,7 @@ import (
|
|||
const (
|
||||
ZONE_NETWORK = "192.168.1"
|
||||
ZONE_IFACE = "\\Device\\NPF_{1924FA2B-6927-4BA5-AF43-876C3F8853CE}"
|
||||
ZONE_ADDRESS = "203"
|
||||
ZONE_ADDRESS = "103"
|
||||
ZONE_MAC = "30:9C:23:15:A3:09"
|
||||
)
|
||||
|
||||
|
@ -36,7 +36,7 @@ func Host(hostName string, address string, mac string) *omd.Host {
|
|||
return &omd.Host{
|
||||
MetaIPType: omm.ToMetaIPType(omm.MetaIPTypeEnumV4),
|
||||
Name: hostName,
|
||||
Address: fmt.Sprintf("%s.$s", address),
|
||||
Address: fmt.Sprintf("%s.%s", address),
|
||||
Mac: mac,
|
||||
Zone: Zone(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user