-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add "len" to tmpl_from_attr_substr()
so that we can call it on pre-parsed data, and so that it doesn't do strlen()
- Loading branch information
Showing
23 changed files
with
2,833 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Modules to fix for namespace | ||
|
||
Some modules need an explicit `dict` pointer. | ||
|
||
Other modules use xlat's, etc. which need to have a dict / namespace set. | ||
|
||
We MAY need to add a `namespace = ...` config to EVERY module. <sigh> | ||
It would be much preferable to just get the namespace from where the | ||
module is being referenced. | ||
|
||
The daemon parses the config, and then bootstraps the modules *before* | ||
the virtual servers. So we can't say "hey, this module is used from | ||
virtual server X, let's go figure out it's namespace!" | ||
|
||
* attr_filter | ||
* files | ||
* detail | ||
* cache | ||
* get dict into TYPE_TMPL config file parsing | ||
* exec | ||
* passwd | ||
* radutmp | ||
* linelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# TO DO | ||
|
||
Add `leftover` argument to `mod_write()`. So the caller knows if the | ||
data has been partially written. That way all of the pending / retry | ||
code is handled in `network.c`. | ||
|
||
This change will substantially simplify the writers. | ||
|
||
* EWOULDBLOCK, network side retries whole packet | ||
* `leftover != 0`, network side localizes message, and retries at a later time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# TODO | ||
|
||
* add config file items for | ||
recv_type = { accounting, preacct, etc.} | ||
send_type | ||
|
||
* code | ||
for packet processing request->packet->code | ||
|
||
# DONE | ||
|
||
* priority is now set manually |
Oops, something went wrong.