o IN_MULTICAST wants an address in host byte order.
PR: kern/60304 Submitted by: demon MFC after: 1 week
This commit is contained in:
parent
5569c81803
commit
afca980e9b
@ -2050,7 +2050,7 @@ ipfw_chk(struct ip_fw_args *args)
|
||||
(proto != IPPROTO_ICMP ||
|
||||
is_icmp_query(ip)) &&
|
||||
!(m->m_flags & (M_BCAST|M_MCAST)) &&
|
||||
!IN_MULTICAST(dst_ip.s_addr)) {
|
||||
!IN_MULTICAST(ntohl(dst_ip.s_addr))) {
|
||||
send_reject(args, cmd->arg1,
|
||||
offset,ip_len);
|
||||
m = args->m;
|
||||
|
Loading…
Reference in New Issue
Block a user