1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-04-01 11:46:39 +02:00
netbird/client/internal/stdnet/iface_discover.go
Zoltan Papp d1703479ff
Add custom ice stdnet implementation ()
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.
2023-03-24 08:40:39 +01:00

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)
}