rad_send() can now be called multiple times with the same
authoraland <aland>
Wed, 1 Sep 1999 14:37:56 +0000 (14:37 +0000)
committeraland <aland>
Wed, 1 Sep 1999 14:37:56 +0000 (14:37 +0000)
commita5c06c7afa29e1cfc3f42011ed1c5f23f5a96525
tree598286203c2af59f3b16abaff49f5d80cf81d35b
parent597d6d29db2347c84a06a7bedfb94b67b8eef8a7
rad_send() can now be called multiple times with the same
RADIUS_PACKET* ptr.  The first time, it mallocs a packet,
and converts the VP list to attributes in the packet.

The second (and following) times, it just re-sends the
already-built packet.

This allows it to encode the Password and CHAP-Password
attributes itself, and also save that work on subsequent sends.
src/lib/radius.c