diff options
author | xebd <xeb@mail.ru> | 2022-01-14 14:43:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 14:43:26 +0300 |
commit | 7c8837ebb10a0a1bb056f7e4859814bf6bd6e4ef (patch) | |
tree | 5300ea0fc0554f76b323e312a1e0a88eca5c2ad0 /accel-pppd/radius/radius_p.h | |
parent | bf75b007664b6688c9670e0c2bb2ea5266d84598 (diff) | |
parent | 2bbeb7eb0a56ea34a8a3d2f7aba81836bcb50835 (diff) | |
download | accel-ppp-7c8837ebb10a0a1bb056f7e4859814bf6bd6e4ef.tar.gz accel-ppp-7c8837ebb10a0a1bb056f7e4859814bf6bd6e4ef.zip |
Merge pull request #33 from DaniilHarun/vrf-radius
Added support for binding device name for radius request and DM/CoA server.
Diffstat (limited to 'accel-pppd/radius/radius_p.h')
-rw-r--r-- | accel-pppd/radius/radius_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/accel-pppd/radius/radius_p.h b/accel-pppd/radius/radius_p.h index d992c13e..9ea54b10 100644 --- a/accel-pppd/radius/radius_p.h +++ b/accel-pppd/radius/radius_p.h @@ -128,7 +128,8 @@ struct rad_server_t { int queue_cnt; int fail_timeout; int max_fail; - + char bind_device[IFNAMSIZ]; + unsigned int bind_default:1; struct list_head req_queue[2]; int client_cnt[2]; time_t fail_time; @@ -181,6 +182,8 @@ extern in_addr_t conf_bind; extern in_addr_t conf_gw_ip_address; extern in_addr_t conf_auth_server; extern char *conf_dm_coa_secret; +extern char conf_dm_coa_bind_device[IFNAMSIZ]; +extern unsigned int conf_dm_coa_bind_default; extern int conf_sid_in_auth; extern int conf_require_nas_ident; extern in_addr_t conf_dm_coa_server; |