mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-21 02:56:52 +01:00
Switch most everything to netip in prep for ipv6 in the overlay (#1173)
This commit is contained in:
1 parent
00458302ca
commit
e264a0ff88
79 files changed
+1900
-2682
No files matched your search
+3
-4
@@ -3,8 +3,7 @@ package firewall
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/slackhq/nebula/iputil"
|
||||
"net/netip"
|
||||
)
|
||||
|
||||
type m map[string]interface{}
|
||||
@@ -20,8 +19,8 @@ const (
|
||||
)
|
||||
|
||||
type Packet struct {
|
||||
LocalIP iputil.VpnIp
|
||||
RemoteIP iputil.VpnIp
|
||||
LocalIP netip.Addr
|
||||
RemoteIP netip.Addr
|
||||
LocalPort uint16
|
||||
RemotePort uint16
|
||||
Protocol uint8
|
||||
|
||||
Reference in new issue
Block a user