mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-24 15:48:52 +01:00
d1703479ff
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)
|
|
}
|