mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
removed redundant checks
This commit is contained in:
@@ -33,18 +33,10 @@
|
||||
|
||||
#include <freeradius-client.h>
|
||||
|
||||
#if !defined(PW_FRAMED_IPV6_ADDRESS) && defined(PW_TYPE_IPV6ADDR)
|
||||
#define PW_FRAMED_IPV6_ADDRESS 168
|
||||
#define PW_DNS_SERVER_IPV6_ADDRESS 169
|
||||
#endif
|
||||
|
||||
#define RAD_GROUP_NAME 1030
|
||||
#define RAD_IPV4_DNS1 ((311<<16)|(28))
|
||||
#define RAD_IPV4_DNS2 ((311<<16)|(29))
|
||||
|
||||
int rc_aaa(rc_handle *rh, uint32_t client_port, VALUE_PAIR *send, VALUE_PAIR **received,
|
||||
char *msg, int add_nas_port, int request_type);
|
||||
|
||||
static rc_handle *rh = NULL;
|
||||
|
||||
static void radius_global_init(void *pool, void *additional)
|
||||
|
||||
Reference in New Issue
Block a user