Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix build failure for options GATEWAY.
details: https://anonhg.NetBSD.org/src/rev/ca04fa163179
branches: trunk
changeset: 959463:ca04fa163179
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Feb 15 03:41:01 2021 +0000
description:
Fix build failure for options GATEWAY.
diffstat:
sys/netinet/ip_flow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0dade2dd34b6 -r ca04fa163179 sys/netinet/ip_flow.c
--- a/sys/netinet/ip_flow.c Mon Feb 15 00:44:09 2021 +0000
+++ b/sys/netinet/ip_flow.c Mon Feb 15 03:41:01 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_flow.c,v 1.83 2021/02/14 20:58:35 christos Exp $ */
+/* $NetBSD: ip_flow.c,v 1.84 2021/02/15 03:41:01 knakahara Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.83 2021/02/14 20:58:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.84 2021/02/15 03:41:01 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -231,7 +231,7 @@
* IP header with no option and valid version and length
*/
ip = mtod(m, struct ip *);
- if (!POINTER_ALIGNED_P(ip, IP_HDR_ALIGNMENT) {
+ if (!POINTER_ALIGNED_P(ip, IP_HDR_ALIGNMENT)) {
memcpy(&ip_store, mtod(m, const void *), sizeof(ip_store));
ip = &ip_store;
}
Home |
Main Index |
Thread Index |
Old Index