watchdog returns addr,port

This commit is contained in:
Cloud Wu
2022-09-04 14:22:13 +08:00
parent 01314de8e1
commit b61daaccf1
5 changed files with 33 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ local handler = {}
function handler.open(source, conf)
watchdog = conf.watchdog or source
return conf.address, conf.port
end
function handler.message(fd, msg, sz)