reply on the port we should
This commit is contained in:
+2
-2
@@ -103,8 +103,8 @@ export const makeSession = (
|
|||||||
send: (msg: DataView) => {
|
send: (msg: DataView) => {
|
||||||
const raw = msg.readU16();
|
const raw = msg.readU16();
|
||||||
const cmd = CommandsByValue[raw];
|
const cmd = CommandsByValue[raw];
|
||||||
logger.log("trace", `>> ${cmd}`);
|
logger.log("trace", `>> ${cmd} (${ra.port})`);
|
||||||
sock.send(new Uint8Array(msg.buffer), SEND_PORT, session.dst_ip);
|
sock.send(new Uint8Array(msg.buffer), ra.port, session.dst_ip);
|
||||||
},
|
},
|
||||||
dst_ip: ra.address,
|
dst_ip: ra.address,
|
||||||
curImage: [],
|
curImage: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user