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

Commit b167ed32 authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Track change of type from short -> int" am: d854e6e0 am: 9881c6f3 am: 8a334f43

am: 0c4d852c

Change-Id: Ib39e8d6e53e194fb625539b61dfd4df5440cc1c2
parents 32732521 0c4d852c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ public final class SocketUtils {
    @NonNull
    public static SocketAddress makePacketSocketAddress(int protocol, int ifIndex) {
        return new PacketSocketAddress(
                (short) protocol /* sll_protocol */,
                protocol /* sll_protocol */,
                ifIndex /* sll_ifindex */,
                null /* sll_addr */);
    }
@@ -81,7 +81,7 @@ public final class SocketUtils {
    @NonNull
    public static SocketAddress makePacketSocketAddress(int ifIndex, @NonNull byte[] hwAddr) {
        return new PacketSocketAddress(
                (short) 0 /* sll_protocol */,
                0 /* sll_protocol */,
                ifIndex /* sll_ifindex */,
                hwAddr /* sll_addr */);
    }