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

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

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