Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/external/bsd/ipf/netinet Pull up following revision(s...
details: https://anonhg.NetBSD.org/src/rev/e4e2cb8ec98f
branches: netbsd-8
changeset: 434309:e4e2cb8ec98f
user: snj <snj%NetBSD.org@localhost>
date: Sat Sep 23 17:28:41 2017 +0000
description:
Pull up following revision(s) (requested by christos in ticket #283):
sys/external/bsd/ipf/netinet/fil.c: revision 1.21
Revert changing the byte order of fi->fi_addr. It is already correct. From
Timo Buhrmester
diffstat:
sys/external/bsd/ipf/netinet/fil.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9f6bf12e18e3 -r e4e2cb8ec98f sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c Sat Sep 23 17:27:02 2017 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c Sat Sep 23 17:28:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fil.c,v 1.20 2017/04/23 20:47:22 christos Exp $ */
+/* $NetBSD: fil.c,v 1.20.4.1 2017/09/23 17:28:41 snj 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.20 2017/04/23 20:47:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.20.4.1 2017/09/23 17:28:41 snj 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 $";
@@ -1709,7 +1709,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