internal/clientinfo: implement ndp listen

So when new clients join the network, ctrld can really the event and
update client information to NDP table quickly.
This commit is contained in:
Cuong Manh Le
2024-01-04 20:26:42 +07:00
committed by Cuong Manh Le
parent 0a6d9d4454
commit 51b235b61a
4 changed files with 102 additions and 0 deletions

1
go.mod
View File

@@ -15,6 +15,7 @@ require (
github.com/jaytaylor/go-hostsfile v0.0.0-20220426042432-61485ac1fa6c
github.com/josharian/native v1.1.1-0.20230202152459-5c7d0dd6ab86
github.com/kardianos/service v1.2.1
github.com/mdlayher/ndp v1.0.1
github.com/miekg/dns v1.1.55
github.com/olekukonko/tablewriter v0.0.5
github.com/pelletier/go-toml/v2 v2.0.8