Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/ipf/netinet remove wrong ntohl (from Aran C...
details: https://anonhg.NetBSD.org/src/rev/3662c74127e2
branches: trunk
changeset: 781953:3662c74127e2
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 09 21:32:54 2012 +0000
description:
remove wrong ntohl (from Aran Clauson)
diffstat:
sys/external/bsd/ipf/netinet/fil.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a25028aba774 -r 3662c74127e2 sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c Tue Oct 09 20:55:04 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c Tue Oct 09 21:32:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fil.c,v 1.5 2012/07/22 16:26:56 darrenr Exp $ */
+/* $NetBSD: fil.c,v 1.6 2012/10/09 21:32:54 christos Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -138,7 +138,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.5 2012/07/22 16:26:56 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.6 2012/10/09 21:32:54 christos Exp $");
#else
static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-2000 Darren Reed";
static const char rcsid[] = "@(#)Id: fil.c,v 1.1.1.2 2012/07/22 13:45:07 darrenr Exp $";
@@ -1685,7 +1685,7 @@
fin->fin_crc += fi->fi_saddr;
fi->fi_daddr = ip->ip_dst.s_addr;
fin->fin_crc += fi->fi_daddr;
- if (IN_CLASSD(ntohl(fi->fi_daddr)))
+ if (IN_CLASSD(fi->fi_daddr))
fin->fin_flx |= FI_MULTICAST|FI_MBCAST;
/*
Home |
Main Index |
Thread Index |
Old Index