Skip to content

Commit

Permalink
add self-reported IPs
Browse files Browse the repository at this point in the history
Signed-off-by: Seán C McCord <ulexus@gmail.com>
  • Loading branch information
Ulexus committed May 27, 2021
1 parent 6ad15ca commit 576288f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ type Node struct {

// KnownEndpoints is a list of known endpoints (host:port) for this Node.
KnownEndpoints []*KnownEndpoint `json:"knownEndpoints,omitempty"`

// SelfIPs is a list of IPs assigned to the Node itself, either directly or via NAT.
SelfIPs []netaddr.IP `json:"selfIPs,omitempty"`
}

type KnownEndpoint struct {
Expand Down

0 comments on commit 576288f

Please sign in to comment.