summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/nclient4/client.go
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2021-03-14 15:21:11 -0700
committerChris K <c@chrisko.ch>2021-03-14 15:30:04 -0700
commit28f74147e2e808a9465553b4d92eea14371e7ce8 (patch)
tree73986e34d6a28db3e39377fd6416b7a05a325a97 /dhcpv4/nclient4/client.go
parente9cacb56d3a0ececbee6e51845ac22d77b3ccc07 (diff)
nclient4: fix build
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv4/nclient4/client.go')
-rw-r--r--dhcpv4/nclient4/client.go2
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
}