From 9955ed2034994321f25a67b11ad6b524493dbda9 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 10 Jul 2019 07:56:18 +0100 Subject: [PATCH] move table --- network/router/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/router/router.go b/network/router/router.go index 4834edac..7beb5653 100644 --- a/network/router/router.go +++ b/network/router/router.go @@ -25,12 +25,12 @@ const ( // Router is an interface for a routing control plane type Router interface { + // Router provides a routing table + table.Table // Init initializes the router with options Init(...Option) error // Options returns the router options Options() Options - // Table returns the routing table - table.Table // Advertise advertises routes to the network Advertise() (<-chan *Advert, error) // Process processes incoming adverts