X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/0661474e3ea3d3a1f77a7f8df39ce7c0a1f1ddc3..0f4905efe62afbe6df646da17c46f3f8d68198d4:/print-bootp.c diff --git a/print-bootp.c b/print-bootp.c index 605103c0..ce1f9c6c 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.73 2003-05-01 18:02:12 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.74 2003-07-01 19:16:06 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -45,6 +45,17 @@ static void cmu_print(const u_char *); static char tstr[] = " [|bootp]"; +static const struct tok bootp_flag_values[] = { + { 0x8000, "Broadcast" }, + { 0, NULL} +}; + +static const struct tok bootp_op_values[] = { + { BOOTPREQUEST, "Request" }, + { BOOTPREPLY, "Reply" }, + { 0, NULL} +}; + /* * Print bootp requests */