GetMyZone

This commit is contained in:
Josh Deprez 2024-04-15 13:06:52 +10:00
parent 3f189d5dfa
commit 830f0dfde0
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

2
zip.go
View file

@ -56,7 +56,7 @@ func handleZIP(pcapHandle *pcap.Handle, srcHWAddr, myHWAddr ethernet.Addr, myAdd
resp.Zones = zones.LocalNames()
case zip.FunctionGetMyZone:
return fmt.Errorf("TODO: support GetMyZone?")
resp.Zones = []string{cfg.EtherTalk.ZoneName}
}
respATP, err := resp.MarshalTResp()