Switch most everything to netip in prep for ipv6 in the overlay (#1173)

This commit is contained in:
Nate Brown authored and GitHub committed 2024-07-31 10:18:56 -05:00
1 parent 00458302ca
commit e264a0ff88
79 files changed
+1900 -2682

No files matched your search

+3 -4
View File
@@ -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