summaryrefslogtreecommitdiffhomepage
path: root/server/rpki.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/rpki.go')
-rw-r--r--server/rpki.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/rpki.go b/server/rpki.go
index 75f25409..371fda4b 100644
--- a/server/rpki.go
+++ b/server/rpki.go
@@ -65,9 +65,9 @@ func (r roas) Less(i, j int) bool {
r1 := r[i]
r2 := r[j]
- if r1.MaxLen < r1.MaxLen {
+ if r1.MaxLen < r2.MaxLen {
return true
- } else if r1.MaxLen > r1.MaxLen {
+ } else if r1.MaxLen > r2.MaxLen {
return false
}