service
This commit is contained in:
parent
c98c75787b
commit
02dee66629
|
@ -28,6 +28,7 @@ func ScanService(port *omd.Port, ds *omd.DiscoverService, resultChan chan interf
|
|||
DiscoveredDate: omu.NowPtr(),
|
||||
Port: port,
|
||||
MetaCryptoType: omm.ToMetaCryptoType(omm.MetaCryptoTypeEnumUNKNOWN),
|
||||
Metadata: nil,
|
||||
}
|
||||
resultChan <- s
|
||||
}
|
||||
|
@ -43,6 +44,7 @@ func ScanService(port *omd.Port, ds *omd.DiscoverService, resultChan chan interf
|
|||
DiscoveredDate: omu.NowPtr(),
|
||||
Port: port,
|
||||
MetaCryptoType: omm.ToMetaCryptoType(omm.MetaCryptoTypeEnumUNKNOWN),
|
||||
Metadata: nil,
|
||||
}
|
||||
resultChan <- s
|
||||
}
|
||||
|
|
|
@ -159,6 +159,7 @@ LOOP:
|
|||
MetaCryptoType: sc.MetaCryptoType(),
|
||||
DiscoveredDate: omu.NowPtr(),
|
||||
Metadata: m.Meta(),
|
||||
Name: m.Name(),
|
||||
}
|
||||
break LOOP
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ func scanServiceUDP(port *omd.Port, ds *omd.DiscoverService, resultChan chan int
|
|||
Port: port,
|
||||
MetaCryptoType: omm.ToMetaCryptoType(omm.MetaCryptoTypeEnumNONE),
|
||||
DiscoveredDate: omu.NowPtr(),
|
||||
Metadata: m.Meta(),
|
||||
Name: m.Name(),
|
||||
}
|
||||
|
||||
resultChan <- s
|
||||
|
|
Loading…
Reference in New Issue
Block a user