mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-09 06:50:20 +01:00
On Android, because of the hard SELinux policies can not list the interfaces of the ICE package. Without it can not generate a host type candidate. In this pull request, the list of interfaces comes via the Java interface.
9 lines
242 B
Go
9 lines
242 B
Go
package stdnet
|
|
|
|
// IFaceDiscover provide an option for external services (mobile)
|
|
// to collect network interface information
|
|
type IFaceDiscover interface {
|
|
// IFaces return with the description of the interfaces
|
|
IFaces() (string, error)
|
|
}
|