Skip to content

Commit

Permalink
Merge pull request PaloAltoNetworks#86 from kevinsteves/br1
Browse files Browse the repository at this point in the history
Fix typos of "" (e.g., `xml:"nssa-ext-range""`) in struct tags.
  • Loading branch information
btorresgil authored Mar 3, 2022
2 parents c5ca55a + 12239de commit 50e1226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions netw/routing/protocol/ospf/area/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ type advertise struct {
type nssa struct {
DefaultRoute *defroute `xml:"default-route"`
AcceptSummary string `xml:"accept-summary"`
Ranges *advrangeEntry `xml:"nssa-ext-range""`
Ranges *advrangeEntry `xml:"nssa-ext-range"`
}

type advrangeEntry struct {
Entry []advrange `xml:"entry""`
Entry []advrange `xml:"entry"`
}

type advrange struct {
Expand Down
2 changes: 1 addition & 1 deletion netw/routing/protocol/ospf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ type gracefulRestart struct {
GracePeriod int `xml:"grace-period,omitempty"`
HelperEnable string `xml:"helper-enable"`
StrictLsaChecking string `xml:"strict-LSA-checking"`
MaxNeighborRestartTime int `xml:"max-neighbor-restart-time,omitempty""`
MaxNeighborRestartTime int `xml:"max-neighbor-restart-time,omitempty"`
}

type globalBfd struct {
Expand Down

0 comments on commit 50e1226

Please sign in to comment.