Commit 5755e092 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 0dc4adfe
......@@ -8,7 +8,7 @@ const server = dgram.createSocket('udp4');
server.on('message', (msg, rinfo) => {
const packet = radius.decode({ packet: msg, secret });
console.log(password)
if (packet.code !== 'Access-Request') {
console.error('Invalid packet type: ' + packet.code);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment