We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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); });
`
The text was updated successfully, but these errors were encountered:
At least two identifying attributes for a session are required in order for the NAS to act on a disconnect request or change of authorization request.
Sorry, something went wrong.
No branches or pull requests
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'],
]
});
`
The text was updated successfully, but these errors were encountered: