Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/bpfilter Zap trailing spaces.
details: https://anonhg.NetBSD.org/src/rev/1d848e13ae4b
branches: trunk
changeset: 330138:1d848e13ae4b
user: alnsn <alnsn%NetBSD.org@localhost>
date: Tue Jun 24 11:32:36 2014 +0000
description:
Zap trailing spaces.
diffstat:
tests/net/bpfilter/t_bpfilter.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 7b951463bc40 -r 1d848e13ae4b tests/net/bpfilter/t_bpfilter.c
--- a/tests/net/bpfilter/t_bpfilter.c Tue Jun 24 11:31:49 2014 +0000
+++ b/tests/net/bpfilter/t_bpfilter.c Tue Jun 24 11:32:36 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfilter.c,v 1.7 2013/12/18 22:39:16 alnsn Exp $ */
+/* $NetBSD: t_bpfilter.c,v 1.8 2014/06/24 11:32:36 alnsn Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_bpfilter.c,v 1.7 2013/12/18 22:39:16 alnsn Exp $");
+__RCSID("$NetBSD: t_bpfilter.c,v 1.8 2014/06/24 11:32:36 alnsn Exp $");
#include <sys/param.h>
#include <sys/ioctl.h>
@@ -178,8 +178,8 @@
memcpy(pkt + pktsize - 7, tail, 7);
icmp->icmp_type = ICMP_ECHO;
- icmp->icmp_id = htons(37);
- icmp->icmp_seq = htons(1);
+ icmp->icmp_id = htons(37);
+ icmp->icmp_seq = htons(1);
icmp->icmp_cksum = in_cksum(pkt, pktsize);
slen = sizeof(sin);
Home |
Main Index |
Thread Index |
Old Index