ing
This commit is contained in:
parent
266ffdd674
commit
1251b9f423
|
@ -20,7 +20,7 @@ func Zone() *omd.Zone {
|
|||
Network: fmt.Sprintf("%s.0/24", ZONE_NETWORK),
|
||||
Iface: ZONE_IFACE,
|
||||
MetaIPType: omm.ToMetaIPType(omm.MetaIPTypeEnumV4),
|
||||
Address: fmt.Sprintf("%s.$s", ZONE_ADDRESS),
|
||||
Address: fmt.Sprintf("%s.%s", ZONE_NETWORK, ZONE_ADDRESS),
|
||||
Mac: ZONE_MAC,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package session
|
||||
|
||||
import (
|
||||
omd "git.loafle.net/overflow/model/discovery"
|
||||
"git.loafle.net/overflow_scanner/probe/discovery/types"
|
||||
)
|
||||
|
||||
|
@ -21,14 +20,14 @@ type mockDiscoverySession struct {
|
|||
ofDiscoverySession
|
||||
}
|
||||
|
||||
func (ds *mockDiscoverySession) AddHost(host *omd.Host) *omd.Host {
|
||||
return host
|
||||
}
|
||||
// func (ds *mockDiscoverySession) AddHost(host *omd.Host) *omd.Host {
|
||||
// return host
|
||||
// }
|
||||
|
||||
func (ds *mockDiscoverySession) AddPort(port *omd.Port) *omd.Port {
|
||||
return port
|
||||
}
|
||||
// func (ds *mockDiscoverySession) AddPort(port *omd.Port) *omd.Port {
|
||||
// return port
|
||||
// }
|
||||
|
||||
func (ds *mockDiscoverySession) AddService(service *omd.Service) *omd.Service {
|
||||
return service
|
||||
}
|
||||
// func (ds *mockDiscoverySession) AddService(service *omd.Service) *omd.Service {
|
||||
// return service
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue
Block a user