Commit 23e3e390 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 5755e092
Pipeline #162 canceled with stages
......@@ -8,7 +8,7 @@ const server = dgram.createSocket('udp4');
server.on('message', (msg, rinfo) => {
const packet = radius.decode({ packet: msg, secret });
console.log(password)
console.log(packet)
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