Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92bb8742 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

let's at least log the src mac as being the src mac, not the dst



changing the field names is much harder due to it going via AIDL

Test: TreeHugger
Bug: 292404319
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I4101caf3b0d2abfadbabf3f389155c29a4d64e0f
parent 6dbe50e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ public class WakeupEvent {
    public String iface;
    public int uid;
    public int ethertype;
    public MacAddress dstHwAddr;
    public MacAddress dstHwAddr;  // actually used to store a src mac address
    public String srcIp;
    public String dstIp;
    public int ipNextHeader;
@@ -44,7 +44,7 @@ public class WakeupEvent {
        j.add(iface);
        j.add("uid: " + Integer.toString(uid));
        j.add("eth=0x" + Integer.toHexString(ethertype));
        j.add("dstHw=" + dstHwAddr);
        j.add("srcMac=" + dstHwAddr);  // really!! http://b/292404319#comment11
        if (ipNextHeader > 0) {
            j.add("ipNxtHdr=" + ipNextHeader);
            j.add("srcIp=" + srcIp);