diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-09 06:15:14 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-09 06:15:14 +0000 |
commit | 8222682c77c16fa5126834d1163aafa481c7b776 (patch) | |
tree | 25b4b387a8b2a13646660f86ac1103fc2a4c3737 /packet-bootp.c | |
parent | 798531f4892e970b6bf1200e3c1892cb9f216ff6 (diff) |
Phil Techau's fix to BOOTP when client address not supplied.
Give Phil credit for the other stuff he added as well.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2236 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bootp.c')
-rw-r--r-- | packet-bootp.c | 6 |
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 */ |