Strip Advertise/Process from router
This commit is contained in:
parent
c21af992ff
commit
ef95569c61
8
dns.go
8
dns.go
@ -41,14 +41,6 @@ func (d *dns) Table() router.Table {
|
|||||||
return d.table
|
return d.table
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *dns) Advertise() (<-chan *router.Advert, error) {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (d *dns) Process(*router.Advert) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (d *dns) Lookup(opts ...router.QueryOption) ([]router.Route, error) {
|
func (d *dns) Lookup(opts ...router.QueryOption) ([]router.Route, error) {
|
||||||
return d.table.Query(opts...)
|
return d.table.Query(opts...)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user