From 5e751be7642e84907733022fc3ae2efd4a0f05f8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 9 Aug 2000 06:15:14 +0000 Subject: Phil Techau's fix to BOOTP when client address not supplied. Give Phil credit for the other stuff he added as well. svn path=/trunk/; revision=2236 --- packet-bootp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packet-bootp.c') diff --git a/packet-bootp.c b/packet-bootp.c index 87d140ab97..4aca8ff8ba 100644 --- a/packet-bootp.c +++ b/packet-bootp.c @@ -2,7 +2,7 @@ * Routines for BOOTP/DHCP packet disassembly * Gilbert Ramirez * - * $Id: packet-bootp.c,v 1.38 2000/08/07 03:20:24 guy Exp $ + * $Id: packet-bootp.c,v 1.39 2000/08/09 06:14:57 guy Exp $ * * The information used comes from: * RFC 951: Bootstrap Protocol @@ -686,8 +686,8 @@ dissect_bootp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) pd[offset+2], pd[offset+1])); } else { - proto_tree_add_bytes(bp_tree, hf_bootp_hw_addr, NullTVB, - offset + 28, 0, NULL); + proto_tree_add_text(bp_tree, NullTVB, + offset + 28, 0, "Client address not given"); } /* The server host name is optional */ -- cgit v1.2.3