mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
By parsing "networksetup -listallhardwareports" output to get list of available hardware ports.
12 lines
287 B
Go
12 lines
287 B
Go
//go:build !darwin && !windows
|
|
|
|
package cli
|
|
|
|
import "net"
|
|
|
|
func patchNetIfaceName(iface *net.Interface) error { return nil }
|
|
|
|
func validInterface(iface *net.Interface, validIfacesMap map[string]struct{}) bool { return true }
|
|
|
|
func validInterfacesMap() map[string]struct{} { return nil }
|