summaryrefslogtreecommitdiff
path: root/lib/err.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-01-24 14:06:35 +0100
committerLinus Nordberg <linus@nordberg.se>2013-01-24 14:06:35 +0100
commit1e3a2613b356bf542fd75c198e9c9813e24f08d1 (patch)
tree6a3f90c5a50fbf8ccb202dea54dff847a7702f7d /lib/err.c
parent49047aa9d70c81b91ebe2446a6e84e659f59506c (diff)
Rename most 'package' to 'message'.
RADIUS (RFC2865) is defined to be transported over UDP so the term "radius packet" makes a lot of sense. RADIUS/TCP (RFC6613) and RADIUS/TLS (RFC6614), a.k.a. RadSec, use stream transport protocols though. The term "message" doesn't imply any kind of transport -- a message can be sent using datagrams as well as in a stream. This (large) commit changes 'package' to 'message' where it makes sense. It does not touch the 'radius' subdirectory. It includes preprocessor directives (#define) to make the public interface compatible with previous releases of the library.
Diffstat (limited to 'lib/err.c')
-rw-r--r--lib/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/err.c b/lib/err.c
index 432a67e..19e1f33 100644
--- a/lib/err.c
+++ b/lib/err.c
@@ -28,7 +28,7 @@ static const char *_errtxt[] = {
"authentication failed", /* 12 RSE_BADAUTH */
"internal error", /* 13 RSE_INTERNAL */
"SSL error", /* 14 RSE_SSLERR */
- "invalid packet", /* 15 RSE_INVALID_PKT */
+ "invalid message", /* 15 RSE_INVALID_MSG */
"connect timeout", /* 16 RSE_TIMEOUT_CONN */
"invalid argument", /* 17 RSE_INVAL */
"I/O timeout", /* 18 RSE_TIMEOUT_IO */