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

@ -223,6 +223,12 @@ func main() {
time.Sleep(time.Duration(prepTime) * time.Second) time.Sleep(time.Duration(prepTime) * time.Second)
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 {