Fix: Java agent protocol network endianness consistency
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / client / SessiondDisableEventCommand.java
index 03cd9de6fb48cf94bf7ef35a3f2da373319940c7..2956c7e20363f2cd0cbbe73bfc873453f3ff74b1 100644 (file)
@@ -38,7 +38,7 @@ class SessiondDisableEventCommand implements ISessiondCommand {
                        throw new IllegalArgumentException();
                }
                ByteBuffer buf = ByteBuffer.wrap(data);
-               buf.order(ByteOrder.LITTLE_ENDIAN);
+               buf.order(ByteOrder.BIG_ENDIAN);
                eventName = new String(data).trim();
        }
 
This page took 0.0236 seconds and 4 git commands to generate.