Update router querying method (#834)
* Add address to router query options. Drop Query interface for QueryOptions * Cleanup isMatch function * Update network proto
This commit is contained in:
		| @@ -722,8 +722,8 @@ func (r *router) Solicit() error { | ||||
| } | ||||
|  | ||||
| // Lookup routes in the routing table | ||||
| func (r *router) Lookup(q Query) ([]Route, error) { | ||||
| 	return r.table.Query(q) | ||||
| func (r *router) Lookup(q ...QueryOption) ([]Route, error) { | ||||
| 	return r.table.Query(q...) | ||||
| } | ||||
|  | ||||
| // Watch routes | ||||
|   | ||||
		Reference in New Issue
	
	Block a user