diff options
author | maxim <maxim@FreeBSD.org> | 2003-12-16 18:21:47 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2003-12-16 18:21:47 +0000 |
commit | 90bd792be8d9b22439dae12294246804366828e5 (patch) | |
tree | ca24d45ee63e0a8055fd5a44ed9a962fe30e9d39 /sys/netinet/ip_fw2.c | |
parent | 68f2bd72ce4234e65c49314b3785df7e5e74e73a (diff) | |
download | FreeBSD-src-90bd792be8d9b22439dae12294246804366828e5.zip FreeBSD-src-90bd792be8d9b22439dae12294246804366828e5.tar.gz |
o IN_MULTICAST wants an address in host byte order.
PR: kern/60304
Submitted by: demon
MFC after: 1 week
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r-- | sys/netinet/ip_fw2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index c2578a0..1d0da35 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -2050,7 +2050,7 @@ check_body: (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; |