-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
A small snippet of code
I can't request the user to disconnect, it doesn't happen
` const encoded = radius.encode({
code: 'Disconnect-Request',
secret: this.secret,
identifier: 0,
attributes: [
['User-Name', connect.username],
['NAS-Identifier', 'MikroTik'],
]
});
this.server.send(
encoded,
0,
encoded.length,
3799, '127.0.0.1', (err, bytes) => {
if (err) {
console.log('Error sending response to ');
console.log(err);
}
console.log(bytes);
});
`
Metadata
Metadata
Assignees
Labels
No labels