diff --git a/modules/mac_changer.go b/modules/mac_changer.go index c3ccd019..bf2232fb 100644 --- a/modules/mac_changer.go +++ b/modules/mac_changer.go @@ -88,7 +88,7 @@ func (mc *MacChanger) setMac(mac net.HardwareAddr) error { if strings.Contains(os, "bsd") || os == "darwin" { args = []string{mc.iface, "ether", mac.String()} - } else if os == "linux" { + } else if os == "linux" || os == "android" { args = []string{mc.iface, "hw", "ether", mac.String()} } else { return fmt.Errorf("OS %s is not supported by mac.changer module.", os)