diff options
author | Chris Koch <chrisko@google.com> | 2021-03-14 15:21:11 -0700 |
---|---|---|
committer | Chris K <c@chrisko.ch> | 2021-03-14 15:30:04 -0700 |
commit | 28f74147e2e808a9465553b4d92eea14371e7ce8 (patch) | |
tree | 73986e34d6a28db3e39377fd6416b7a05a325a97 | |
parent | e9cacb56d3a0ececbee6e51845ac22d77b3ccc07 (diff) |
nclient4: fix build
Signed-off-by: Chris Koch <chrisko@google.com>
-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 } |