Remove leftover printf

This commit is contained in:
Florian Preinstorfer 2025-03-02 12:09:16 +01:00 committed by nblock
parent 29ba29478b
commit 0a243b4162

View File

@ -2,7 +2,6 @@ package routes
import (
"fmt"
"log"
"net/netip"
"slices"
"sort"
@ -114,7 +113,6 @@ func (pr *PrimaryRoutes) SetRoutes(node types.NodeID, prefix ...netip.Prefix) bo
// If no routes are being set, remove the node from the routes map.
if len(prefix) == 0 {
log.Printf("Removing node %d from routes", node)
if _, ok := pr.routes[node]; ok {
delete(pr.routes, node)
return pr.updatePrimaryLocked()