Fix build

This commit is contained in:
ozaki-r 2016-02-09 14:43:16 +00:00
parent da22e8d742
commit 28e7d22e93

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_arcsubr.c,v 1.69 2015/10/13 12:33:07 roy Exp $ */
/* $NetBSD: if_arcsubr.c,v 1.70 2016/02/09 14:43:16 ozaki-r Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.69 2015/10/13 12:33:07 roy Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.70 2016/02/09 14:43:16 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@ -622,7 +622,7 @@ arc_ifattach(struct ifnet *ifp, uint8_t lla)
ifp->if_xname, arc_ipmtu, ARC_PHDS_MAXMTU);
ifp->if_output = arc_output;
ifp->if_input = arc_input;
ifp->_if_input = arc_input;
ac = (struct arccom *)ifp;
ac->ac_seqid = (time_second) & 0xFFFF; /* try to make seqid unique */
if (lla == 0) {