~kris/9p

9hist

668d9f4193c5e83a39255c36054153775fefffc8 — David du Colombier 24 years ago c3e068f
Plan 9 from Bell Labs 2002-05-29
1 files changed, 2 insertions(+), 0 deletions(-)

M ip/icmp.c
M ip/icmp.c => ip/icmp.c +2 -0
@@ 343,6 343,8 @@ icmpiput(Proto *icmp, Ipifc*, Block *bp)

	switch(p->type) {
	case EchoRequest:
		if (iplen < n)
			bp = trimblock(bp, 0, iplen);
		r = mkechoreply(bp);
		ipriv->out[EchoReply]++;
		ipoput4(icmp->f, r, 0, MAXTTL, DFLTTOS);