Add *none flag to request_processor to fix unknown request type error
The processor must have a request type flag (*none, *authorize, *radauth, etc.) not just *log. Without it, reqType stays empty and hits the default switch case returning "unknown request type: <>". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
{
|
{
|
||||||
"id": "TestAuthSimple",
|
"id": "TestAuthSimple",
|
||||||
"filters": ["*string:~*vars.*radReqType:*radAuth"],
|
"filters": ["*string:~*vars.*radReqType:*radAuth"],
|
||||||
"flags": ["*log"],
|
"flags": ["*none", "*log"],
|
||||||
"request_fields": [],
|
"request_fields": [],
|
||||||
"reply_fields": [
|
"reply_fields": [
|
||||||
{"tag": "Code", "path": "*rep.*radReplyCode", "type": "*constant", "value": "AccessAccept"},
|
{"tag": "Code", "path": "*rep.*radReplyCode", "type": "*constant", "value": "AccessAccept"},
|
||||||
|
|||||||
Reference in New Issue
Block a user