ip/resolver/resolver.go: move WAN_IFACE constant to app/app.go
resolver.go is library code and should not define (or care) about what is a "WAN" interface or not.
This commit is contained in:
parent
4d1103e133
commit
9961cec561
2 changed files with 4 additions and 4 deletions
|
|
@ -13,6 +13,3 @@ type Service interface {
|
|||
// Lookup the public ip.
|
||||
Lookup(ctx context.Context) (net.IP, error)
|
||||
}
|
||||
|
||||
// Constant name for the virtual WAN interface
|
||||
const WAN_IFACE = "wan"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue