summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
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
}