From 73b59e0f207997de7790c01ce93930a7df71a130 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Sun, 2 Sep 2001 12:06:58 +0000 Subject: bad typecast --- usr.sbin/tcpdump/print-icmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/tcpdump/print-icmp.c') diff --git a/usr.sbin/tcpdump/print-icmp.c b/usr.sbin/tcpdump/print-icmp.c index 199b9378341..13f4bfdf9bb 100644 --- a/usr.sbin/tcpdump/print-icmp.c +++ b/usr.sbin/tcpdump/print-icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-icmp.c,v 1.11 2001/09/02 12:05:13 jakob Exp $ */ +/* $OpenBSD: print-icmp.c,v 1.12 2001/09/02 12:06:57 jakob Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994, 1995, 1996 @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-icmp.c,v 1.11 2001/09/02 12:05:13 jakob Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-icmp.c,v 1.12 2001/09/02 12:06:57 jakob Exp $ (LBL)"; #endif #include @@ -197,7 +197,7 @@ icmp_print(register const u_char *bp, register const u_char *bp2) "request": "reply", dp->icmp_id, dp->icmp_seq); } else - buf = tok2str(icmp2str, "type-#%d", dp->icmp_type); + str = tok2str(icmp2str, "type-#%d", dp->icmp_type); break; case ICMP_UNREACH: -- cgit v1.2.3