init netsender

This commit is contained in:
richardsonjack 2018-04-20 11:50:33 +09:30
parent fe6686d0f5
commit e0778be527
1 changed files with 6 additions and 0 deletions

View File

@ -224,6 +224,12 @@ func main() {
createRevidInstance() createRevidInstance()
revidInst.Start() revidInst.Start()
//init netsender
if *netSenderFlagPtr{
netsenderInit()
}
// Is the netsender flag been used ? if so run this loop // Is the netsender flag been used ? if so run this loop
for *netSenderFlagPtr { for *netSenderFlagPtr {
periodicNetsenderReport() periodicNetsenderReport()