Skip to content

Commit

Permalink
Fix link_local separator (#8)
Browse files Browse the repository at this point in the history
* Fix local_link separator

* correct field name for SharedRanges
  • Loading branch information
eljohnson92 authored Nov 14, 2023
1 parent 99165d3 commit fdd0c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ type IPv4Data struct {

type IPv6Data struct {
SLAAC netip.Prefix `json:"slaac"`
LinkLocal netip.Prefix `json:"link-local"`
LinkLocal netip.Prefix `json:"link_local"`
Ranges []netip.Prefix `json:"ranges"`
SharedRanges []netip.Prefix `json:"shared-ranges"`
SharedRanges []netip.Prefix `json:"shared_ranges"`
}

type NetworkData struct {
Expand Down

0 comments on commit fdd0c80

Please sign in to comment.