summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__);
}