improve gatway and p2papp reconnect

This commit is contained in:
TenderIronh
2022-11-25 23:55:33 +08:00
parent c8b8bf05a5
commit c3a43be3cc
4 changed files with 22 additions and 16 deletions
-1
View File
@@ -20,7 +20,6 @@ import (
const MinNodeNameLen = 8
func getmac(ip string) string {
//get mac relative to the ip address which connected to the mq.
ifaces, err := net.Interfaces()
if err != nil {
return ""