diff options
Diffstat (limited to 'dhcpv4/nclient4/client.go')
-rw-r--r-- | dhcpv4/nclient4/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/nclient4/client.go b/dhcpv4/nclient4/client.go index 515484c..02bd1f6 100644 --- a/dhcpv4/nclient4/client.go +++ b/dhcpv4/nclient4/client.go @@ -424,7 +424,7 @@ func IsCorrectServer(s net.IP) Matcher { // IsAll returns a matcher that checks for all given matchers to be true. func IsAll(ms ...Matcher) Matcher { return func(p *dhcpv4.DHCPv4) bool { - for _, m := range matchers { + for _, m := range ms { if !m(p) { return false } |