Commit 6833d41f authored by Ray Bellis's avatar Ray Bellis
Browse files

fixup Packet.toWire for new parameter order

parent 28a11727
......@@ -211,7 +211,7 @@ class RadiusPacket {
offset += 16;
// add the attributes
offset = this.attributes.toWire(secret, this.authenticator, buffer, offset);
offset = this.attributes.toWire(buffer, offset, secret, this.authenticator);
// find total length and re-write it to the header
const length = offset;
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