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