chore(routing): remove redundant rule ip rule in error messages

This commit is contained in:
Quentin McGaw
2024-11-07 19:50:34 +00:00
parent 937c667ca8
commit 4ef0df04aa
5 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ func (r *Routing) addIPRule(src, dst netip.Prefix, table, priority int) error {
}
if err := r.netLinker.RuleAdd(rule); err != nil {
return fmt.Errorf("adding rule %s: %w", rule, err)
return fmt.Errorf("adding %s: %w", rule, err)
}
return nil
}