Skip to content

Commit

Permalink
VPT should be const in callback
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 1, 2012
1 parent 3274828 commit e17cfdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/radiusd.h
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,8 @@ typedef struct value_pair_map {
} VALUE_PAIR_MAP;

typedef VALUE_PAIR *(*radius_tmpl_getvalue_t)(REQUEST *request,
VALUE_PAIR_TMPL *src, void *ctx);
const VALUE_PAIR_TMPL *src,
void *ctx);

int radius_attr2tmpl(const char *name, VALUE_PAIR_TMPL *vpt,
request_refs_t request_def, pair_lists_t list_def);
Expand Down

0 comments on commit e17cfdd

Please sign in to comment.