class.c fixed
This commit is contained in:
parent
7db0e309ad
commit
c945815bf6
|
@ -43,7 +43,7 @@ struct Class
|
|||
int con_freq;
|
||||
int ping_freq;
|
||||
int total;
|
||||
struct _patricia_tree_t *ip_limits;
|
||||
rb_patricia_tree_t *ip_limits;
|
||||
int cidr_bitlen;
|
||||
int cidr_amount;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ make_class(void)
|
|||
{
|
||||
struct Class *tmp;
|
||||
|
||||
tmp = (struct Class *) rb_malloc(sizeof(struct Class));
|
||||
tmp = rb_malloc(sizeof(struct Class));
|
||||
|
||||
ConFreq(tmp) = DEFAULT_CONNECTFREQUENCY;
|
||||
PingFreq(tmp) = DEFAULT_PINGFREQUENCY;
|
||||
|
|
Loading…
Reference in New Issue