aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bootp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-08-09 06:15:14 +0000
committerGuy Harris <guy@alum.mit.edu>2000-08-09 06:15:14 +0000
commit5e751be7642e84907733022fc3ae2efd4a0f05f8 (patch)
tree25b4b387a8b2a13646660f86ac1103fc2a4c3737 /packet-bootp.c
parent5225efe134968ea0163e16958af62d3ffc325546 (diff)
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
Diffstat (limited to 'packet-bootp.c')
-rw-r--r--packet-bootp.c6
1 files changed, 3 insertions, 3 deletions
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 <gram@xiexie.org>
*
- * $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 */