Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/netinet pullup 1.61->1.62 (thorpej)
details: https://anonhg.NetBSD.org/src/rev/724345251f2e
branches: netbsd-1-4
changeset: 468741:724345251f2e
user: perry <perry%NetBSD.org@localhost>
date: Sun Jun 20 19:20:33 1999 +0000
description:
pullup 1.61->1.62 (thorpej)
diffstat:
sys/netinet/if_arp.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 178a9655cca4 -r 724345251f2e sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Fri Jun 18 18:17:12 1999 +0000
+++ b/sys/netinet/if_arp.c Sun Jun 20 19:20:33 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.56.2.2 1999/05/04 22:28:45 perry Exp $ */
+/* $NetBSD: if_arp.c,v 1.56.2.3 1999/06/20 19:20:33 perry Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -691,6 +691,8 @@
ah->ar_op = htons(ARPOP_REPLY);
ah->ar_pro = htons(ETHERTYPE_IP); /* let's be sure! */
m->m_flags &= ~(M_BCAST|M_MCAST); /* never reply by broadcast */
+ m->m_len = sizeof(*ah) + (2 * ah->ar_pln) + (2 * ah->ar_hln);
+ m->m_pkthdr.len = m->m_len;
sa.sa_family = AF_ARP;
sa.sa_len = 2;
(*ifp->if_output)(ifp, m, &sa, (struct rtentry *)0);
Home |
Main Index |
Thread Index |
Old Index