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(),
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ func Test_sendTCP4(t *testing.T) {
|
|||
args args
|
||||
wantErr bool
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
// TODO: Add test cases.
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
@ -99,7 +99,7 @@ func Test_handlePacketTCP4(t *testing.T) {
|
|||
args args
|
||||
want *omd.Port
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
// TODO: Add test cases.
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
@ -120,7 +120,7 @@ func Test_makePacketPortTCP4(t *testing.T) {
|
|||
want *PortPacketTCP4
|
||||
wantErr bool
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
// TODO: Add test cases.
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user