diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/rpki.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/rpki.go b/server/rpki.go index df105a65..cbef5dee 100644 --- a/server/rpki.go +++ b/server/rpki.go @@ -42,6 +42,10 @@ type ipPrefix struct { Length uint8 } +func (p *ipPrefix) String() string { + return fmt.Sprintf("%s/%d", p.Prefix, p.Length) +} + type roaBucket struct { Prefix *ipPrefix entries []*ROA |