diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-22 10:31:59 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2019-07-22 09:31:59 +0100 |
commit | fb386c2f1b98064a7cd2afb459066f779cd36d59 (patch) | |
tree | 330c764c8e315c188be1d794434b1e30e2607b53 /dhcpv4/ztpv4 | |
parent | dc1a534005648cf762ec3b53f69dd80497187aeb (diff) |
Fixed typos in dhcpv4 (#303)
Simple, nit-picky typo fixes.
Diffstat (limited to 'dhcpv4/ztpv4')
-rw-r--r-- | dhcpv4/ztpv4/parse_circuitid.go | 2 |
1 files changed, 1 insertions, 1 deletions
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]+)$"), |