http status, set config

This commit is contained in:
Simon Zolin
2020-04-30 13:24:40 +03:00
parent c8db736745
commit f5a50e2bc3
4 changed files with 59 additions and 13 deletions

View File

@@ -269,11 +269,9 @@ func (s *Server) Start() error {
}()
}
if s.conf.Conf6.Enabled {
err := s.srv6.Start(*iface)
if err != nil {
return err
}
err = s.srv6.Start(*iface)
if err != nil {
return err
}
return nil