router: simplify edge outdated logic, return ErrOutdated if old.

This commit is contained in:
Johan T. Halseth committed 2018-08-23 07:40:39 +02:00
1 parent 47788c3cec
commit 18e680f192
2 files changed
+14 -13

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ const (
ErrTargetNotInNetwork
// ErrOutdated is returned when the routing update already have
// been applied.
// been applied, or a newer update is already known.
ErrOutdated
// ErrIgnored is returned when the update have been ignored because