check_one_kline: Fix compiler warning
This commit is contained in:
parent
c6e707ae76
commit
a006add93c
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ check_one_kline(struct ConfItem *kline)
|
||||||
int bits;
|
int bits;
|
||||||
struct rb_sockaddr_storage sockaddr;
|
struct rb_sockaddr_storage sockaddr;
|
||||||
|
|
||||||
masktype = parse_netmask(kline->host, (struct sockaddr *)&sockaddr, &bits);
|
masktype = parse_netmask(kline->host, (struct sockaddr_storage *)&sockaddr, &bits);
|
||||||
|
|
||||||
switch (masktype) {
|
switch (masktype) {
|
||||||
case HM_IPV4:
|
case HM_IPV4:
|
||||||
|
|
Loading…
Reference in a new issue