projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e395e
)
Fix for 2.2 API
author
Alan T. DeKok
<aland@freeradius.org>
Sat, 7 Aug 2010 07:43:01 +0000
(09:43 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Sat, 7 Aug 2010 07:43:01 +0000
(09:43 +0200)
src/main/detail.c
patch
|
blob
|
history
diff --git
a/src/main/detail.c
b/src/main/detail.c
index
76c1508
..
ce71a24
100644
(file)
--- a/
src/main/detail.c
+++ b/
src/main/detail.c
@@
-695,9
+695,9
@@
int detail_recv(rad_listen_t *listener,
/*
* Set the transmission count.
*/
- vp = pairfind(packet->vps, PW_PACKET_TRANSMIT_COUNTER);
+ vp = pairfind(packet->vps, PW_PACKET_TRANSMIT_COUNTER
, 0
);
if (!vp) {
- vp = paircreate(PW_PACKET_TRANSMIT_COUNTER, PW_TYPE_INTEGER);
+ vp = paircreate(PW_PACKET_TRANSMIT_COUNTER,
0,
PW_TYPE_INTEGER);
rad_assert(vp != NULL);
pairadd(&packet->vps, vp);
}