fea: socket: support to negotiate key

This commit is contained in:
Daniel Ding
2022-10-01 08:21:53 +08:00
parent 1f5bdbe45c
commit 4a6eaeb802
24 changed files with 315 additions and 128 deletions

View File

@@ -276,7 +276,7 @@ func (w *OpenLANWorker) UpTime() int64 {
func (w *OpenLANWorker) AddLink(c *co.Point) {
br := w.cfg.Bridge
uuid := libol.GenRandom(13)
uuid := libol.GenString(13)
c.Alias = w.alias
c.Network = w.cfg.Name