summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-01-16 09:07:31 +0100
committerLinus Nordberg <linus@nordberg.se>2015-01-16 09:07:31 +0100
commit29bc92ec52febd23774deb5f731625f1e18e10ef (patch)
tree8779f4b67325f167a9b7d0bb37128b158bd352fc
parent4e3627f01c1a62cad621a15f03a26ef84acb7609 (diff)
Be consistent with naming of attribute defines.
-rw-r--r--radmsg.h2
-rw-r--r--radsecproxy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/radmsg.h b/radmsg.h
index 7cfcc75..60c4156 100644
--- a/radmsg.h
+++ b/radmsg.h
@@ -15,7 +15,7 @@
#define RAD_Attr_Reply_Message 18
#define RAD_Attr_Vendor_Specific 26
#define RAD_Attr_Calling_Station_Id 31
-#define RAD_Proxy_State 33
+#define RAD_Attr_Proxy_State 33
#define RAD_Attr_Tunnel_Password 69
#define RAD_Attr_Message_Authenticator 80
diff --git a/radsecproxy.c b/radsecproxy.c
index 35d55f2..b5061e0 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1295,7 +1295,7 @@ void respond(struct request *rq, uint8_t code, char *message,
}
}
if (copy_proxystate_flag) {
- if (radmsg_copy_attrs(msg, rq->msg, RAD_Proxy_State) < 0) {
+ if (radmsg_copy_attrs(msg, rq->msg, RAD_Attr_Proxy_State) < 0) {
debug(DBG_ERR, "%s: unable to copy all Proxy-State attributes",
__func__);
}