X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1d753937ea8ee0b3f8d85fe976225d20b00ad100..f78e1e25bd4251a49cc7cc91c2abfc24ee922cf9:/print-bootp.c diff --git a/print-bootp.c b/print-bootp.c index 9a7d5b20..2c823f4e 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -22,7 +22,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.57 2001-02-21 05:59:37 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.58 2001-04-27 02:17:10 fenner Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -522,11 +522,10 @@ static void cmu_print(register const u_char *bp, register u_int length) { register const struct cmu_vend *cmu; - const char *fmt = " %s:%s"; #define PRINTCMUADDR(m, s) { TCHECK(cmu->m); \ if (cmu->m.s_addr != 0) \ - printf(fmt, s, ipaddr_string(&cmu->m.s_addr)); } + printf(" %s:%s", s, ipaddr_string(&cmu->m.s_addr)); } printf(" vend-cmu"); cmu = (struct cmu_vend *)bp;