mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-01-01 18:19:00 +08:00
Update mac.go
This commit is contained in:
parent
9a98bb61c4
commit
9209f8153e
@ -79,7 +79,7 @@ func (d *SrcMAC) Payload() string {
|
||||
return d.mac
|
||||
}
|
||||
|
||||
func NewMAC(mac string, adapter string) *SrcMAC {
|
||||
func NewMAC(mac string, adapter string, ruleType C.RuleType) *SrcMAC {
|
||||
punycode, _ := idna.ToASCII(strings.ToLower(mac))
|
||||
return &SrcMAC{
|
||||
Base: &Base{},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user