Fix rule-set format

This commit is contained in:
世界
2026-01-17 05:44:29 +08:00
parent 1336987756
commit 2be8a45f14
7 changed files with 117 additions and 113 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ type InterfaceAddressItem struct {
description string
}
func NewInterfaceAddressItem(networkManager adapter.NetworkManager, interfaceAddresses *badjson.TypedMap[string, badoption.Listable[badoption.Prefixable]]) *InterfaceAddressItem {
func NewInterfaceAddressItem(networkManager adapter.NetworkManager, interfaceAddresses *badjson.TypedMap[string, badoption.Listable[*badoption.Prefixable]]) *InterfaceAddressItem {
item := &InterfaceAddressItem{
networkManager: networkManager,
interfaceAddresses: make(map[string][]netip.Prefix, interfaceAddresses.Size()),