projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0dc9b5
)
add example state, too.
author
aland
<aland>
Tue, 30 Jan 2001 20:25:43 +0000
(20:25 +0000)
committer
aland
<aland>
Tue, 30 Jan 2001 20:25:43 +0000
(20:25 +0000)
src/modules/rlm_example/rlm_example.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_example/rlm_example.c
b/src/modules/rlm_example/rlm_example.c
index
3c4c7f4
..
c08b628
100644
(file)
--- a/
src/modules/rlm_example/rlm_example.c
+++ b/
src/modules/rlm_example/rlm_example.c
@@
-160,6
+160,8
@@
static int example_authorize(void *instance, REQUEST *request)
*/
reply = pairmake("Reply-Message", "This is a challenge", T_OP_EQ);
pairadd(&request->reply->vps, reply);
+ state = pairmake("State", "0", T_OP_EQ);
+ pairadd(&request->reply->vps, state);
/*
* Mark the packet as an Access-Challenge packet.