From bc45dfff76fece6b77dacb6c51fac722e0541672 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 26 Feb 2020 20:50:37 -0800 Subject: [PATCH] Bugfix #42: empty slurm file removes all ROAs --- prefixfile/slurm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prefixfile/slurm.go b/prefixfile/slurm.go index 19edf9b..76e2b6c 100644 --- a/prefixfile/slurm.go +++ b/prefixfile/slurm.go @@ -83,7 +83,7 @@ func (s *SlurmValidationOutputFilters) FilterOnROAs(roas []ROAJson) ([]ROAJson, added := make([]ROAJson, 0) removed := make([]ROAJson, 0) if s.PrefixFilters == nil || len(s.PrefixFilters) == 0 { - return added, removed + return roas, removed } for _, roa := range roas { rPrefix := roa.GetPrefix()