WIP
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package peer
|
||||
|
||||
import (
|
||||
"net"
|
||||
"net/netip"
|
||||
"os"
|
||||
"os/signal"
|
||||
@@ -56,7 +55,7 @@ type App struct {
|
||||
|
||||
// Infrastructure
|
||||
dev WGDevice
|
||||
controlConn *net.UDPConn
|
||||
controlConn ControlConn
|
||||
|
||||
// Peer state
|
||||
relay *Peer
|
||||
@@ -67,9 +66,6 @@ type App struct {
|
||||
selfV4 netip.AddrPort
|
||||
selfV6 netip.AddrPort
|
||||
|
||||
// Monotonically increasing ID for outbound pings (client role only)
|
||||
nextPingID int64 // TODO: Remove
|
||||
|
||||
// Event channels fed by background goroutines
|
||||
hubAddCh <-chan HubPeer
|
||||
hubRemoveCh <-chan wgtypes.Key
|
||||
|
||||
Reference in New Issue
Block a user