diff options
-rw-r--r-- | dhcpv4/nclient4/ipv4.go | 2 | ||||
-rw-r--r-- | dhcpv4/ztpv4/parse_circuitid.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/nclient4/ipv4.go b/dhcpv4/nclient4/ipv4.go index 81ba837..d5c30ee 100644 --- a/dhcpv4/nclient4/ipv4.go +++ b/dhcpv4/nclient4/ipv4.go @@ -101,7 +101,7 @@ const ( ) var ( - // IPv4Broadcast is the broadcast address of the IPv4 procotol. + // IPv4Broadcast is the broadcast address of the IPv4 protocol. IPv4Broadcast = net.IP{0xff, 0xff, 0xff, 0xff} // IPv4Any is the non-routable IPv4 "any" meta address. diff --git a/dhcpv4/ztpv4/parse_circuitid.go b/dhcpv4/ztpv4/parse_circuitid.go index a0616f2..32a17e3 100644 --- a/dhcpv4/ztpv4/parse_circuitid.go +++ b/dhcpv4/ztpv4/parse_circuitid.go @@ -24,7 +24,7 @@ var circuitRegexs = []*regexp.Regexp{ // Juniper EX ge-0/0/0.0 regexp.MustCompile("^ge-(?P<slot>[0-9]+)/(?P<mod>[0-9]+)/(?P<port>[0-9]+).(?P<subport>[0-9]+).*"), // Arista Ethernet3/17/1 - // Sometimes Arista prepend circuit id type(1 byte) and length(1 byte) not useing ^ + // Sometimes Arista prepend circuit id type(1 byte) and length(1 byte) not using ^ regexp.MustCompile("Ethernet(?P<slot>[0-9]+)/(?P<mod>[0-9]+)/(?P<port>[0-9]+)$"), // Juniper QFX et-1/0/61 regexp.MustCompile("^et-(?P<slot>[0-9]+)/(?P<mod>[0-9]+)/(?P<port>[0-9]+)$"), |