Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Use ETHER_HDR_LEN instead of 14.
details: https://anonhg.NetBSD.org/src/rev/fbb3913447ca
branches: trunk
changeset: 526184:fbb3913447ca
user: enami <enami%NetBSD.org@localhost>
date: Sat Apr 27 02:38:47 2002 +0000
description:
Use ETHER_HDR_LEN instead of 14.
diffstat:
sys/net/if_ethersubr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c77ef71a9270 -r fbb3913447ca sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c Sat Apr 27 01:47:58 2002 +0000
+++ b/sys/net/if_ethersubr.c Sat Apr 27 02:38:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.93 2002/04/07 07:05:37 martin Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.94 2002/04/27 02:38:47 enami Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.93 2002/04/07 07:05:37 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.94 2002/04/27 02:38:47 enami Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@@ -1039,7 +1039,7 @@
ifp->if_type = IFT_ETHER;
ifp->if_addrlen = ETHER_ADDR_LEN;
- ifp->if_hdrlen = 14;
+ ifp->if_hdrlen = ETHER_HDR_LEN;
ifp->if_dlt = DLT_EN10MB;
ifp->if_mtu = ETHERMTU;
ifp->if_output = ether_output;
Home |
Main Index |
Thread Index |
Old Index