summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2019-05-08 13:51:39 +0100
committerinsomniac <insomniacslk@users.noreply.github.com>2019-05-08 20:08:19 +0100
commit5dea7039d65e5b94fa681b17bc4a3bf63aa47994 (patch)
tree5726ea67a6a46cef01edc18efc2ab886cb53b724 /dhcpv4/options.go
parent7f47189c0d8f5c8b06ab1787a94506fbb673e6e0 (diff)
[CI] Added linters
Now the CI will also run golangci-lint Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r--dhcpv4/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go
index 37607b7..11db5f7 100644
--- a/dhcpv4/options.go
+++ b/dhcpv4/options.go
@@ -175,7 +175,7 @@ func (o Options) sortedKeys() []int {
codes = append(codes, int(k))
}
- sort.Sort(sort.IntSlice(codes))
+ sort.Ints(codes)
return codes
}