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/e5cc183c6de9
branches:  trunk
changeset: 952695:e5cc183c6de9
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 b28bebebb334 -r e5cc183c6de9 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