summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/rpki.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/rpki.go b/server/rpki.go
index 008b7d1f..b6aec254 100644
--- a/server/rpki.go
+++ b/server/rpki.go
@@ -120,9 +120,6 @@ func (m *roaManager) SetAS(as uint32) error {
}
func (m *roaManager) AddServer(host string, lifetime int64) error {
- if m.AS == 0 {
- return fmt.Errorf("AS isn't configured yet")
- }
address, port, err := net.SplitHostPort(host)
if err != nil {
return err