diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-01-16 09:07:31 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-01-16 09:07:31 +0100 |
commit | 29bc92ec52febd23774deb5f731625f1e18e10ef (patch) | |
tree | 8779f4b67325f167a9b7d0bb37128b158bd352fc | |
parent | 4e3627f01c1a62cad621a15f03a26ef84acb7609 (diff) |
Be consistent with naming of attribute defines.
-rw-r--r-- | radmsg.h | 2 | ||||
-rw-r--r-- | radsecproxy.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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__); } |