Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/net Fix merge mishap from previous (ticket #1704)



details:   https://anonhg.NetBSD.org/src/rev/0dc91d659657
branches:  netbsd-8
changeset: 990458:0dc91d659657
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Oct 27 18:52:51 2021 +0000

description:
Fix merge mishap from previous (ticket #1704)

diffstat:

 sys/net/if_ethersubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3ee55c3a4239 -r 0dc91d659657 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Mon Oct 25 18:17:04 2021 +0000
+++ b/sys/net/if_ethersubr.c    Wed Oct 27 18:52:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ethersubr.c,v 1.242.6.8 2021/10/25 18:16:07 martin Exp $    */
+/*     $NetBSD: if_ethersubr.c,v 1.242.6.9 2021/10/27 18:52:51 martin Exp $    */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.242.6.8 2021/10/25 18:16:07 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.242.6.9 2021/10/27 18:52:51 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -707,7 +707,7 @@
                 * type, and if IP or IPV6, let them deal with it.
                 */
                if (m->m_len <= sizeof(*evl)
-                   && EVL_VLANOFTAG((ntohs(evl->evl_tag)) == 0) {
+                   && EVL_VLANOFTAG((ntohs(evl->evl_tag))) == 0) {
                        etype = ntohs(evl->evl_proto);
                        ehlen = sizeof(*evl);
                        if ((m->m_flags & M_PROMISC) == 0



Home | Main Index | Thread Index | Old Index