projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d15d0
)
Switch over "code", not "packet->code"
author
aland
<aland>
Thu, 26 Apr 2007 13:46:30 +0000
(13:46 +0000)
committer
aland
<aland>
Thu, 26 Apr 2007 13:46:30 +0000
(13:46 +0000)
src/main/listen.c
patch
|
blob
|
history
diff --git
a/src/main/listen.c
b/src/main/listen.c
index
3fda408
..
0972f89
100644
(file)
--- a/
src/main/listen.c
+++ b/
src/main/listen.c
@@
-497,7
+497,7
@@
static int acct_socket_recv(rad_listen_t *listener,
/*
* Some sanity checks, based on the packet code.
*/
- switch(
packet->
code) {
+ switch(code) {
case PW_ACCOUNTING_REQUEST:
RAD_SNMP_CLIENT_INC(listener, client, requests);
fun = rad_accounting;