mb=mask_bits((u_char *)&chain->fw_smsk,sizeof(chain->fw_smsk));
if (mb==128 && do_resolv) {
- he=gethostbyaddr((char *)&(chain->fw_src),sizeof(chain->fw_src),AF_INET6);
+ he=gethostbyaddr(&(chain->fw_src),sizeof(chain->fw_src),AF_INET6);
if (he==NULL) {
printf(inet_ntop(AF_INET6,&chain->fw_src,ntop_buf,sizeof(ntop_buf)));
} else
mb=mask_bits((u_char *)&chain->fw_dmsk,sizeof(chain->fw_dmsk));
if (mb==128 && do_resolv) {
- he=gethostbyaddr((char *)&(chain->fw_dst),sizeof(chain->fw_dst),AF_INET6);
+ he=gethostbyaddr(&(chain->fw_dst),sizeof(chain->fw_dst),AF_INET6);
if (he==NULL) {
printf(inet_ntop(AF_INET6,&chain->fw_dst,ntop_buf,sizeof(ntop_buf)));
} else