From 12239dec5746707e52ab8b694c7b54f3e2b7efb9 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Mon, 28 Feb 2022 15:52:27 -0800 Subject: [PATCH] Fix typos of "" (e.g., `xml:"nssa-ext-range""`) in struct tags. --- netw/routing/protocol/ospf/area/entry.go | 4 ++-- netw/routing/protocol/ospf/config.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/netw/routing/protocol/ospf/area/entry.go b/netw/routing/protocol/ospf/area/entry.go index 69c79fad..f6d8af1e 100644 --- a/netw/routing/protocol/ospf/area/entry.go +++ b/netw/routing/protocol/ospf/area/entry.go @@ -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 { diff --git a/netw/routing/protocol/ospf/config.go b/netw/routing/protocol/ospf/config.go index 8b7766a9..7c0a8864 100644 --- a/netw/routing/protocol/ospf/config.go +++ b/netw/routing/protocol/ospf/config.go @@ -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 {