aboutsummaryrefslogtreecommitdiffstats
path: root/packet-srvloc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-02-24 19:23:26 +0000
committerGuy Harris <guy@alum.mit.edu>2003-02-24 19:23:26 +0000
commitf485c8e49aa39cc4d10f4172a7a71f1561ea3cc8 (patch)
tree87bbf706f865fa593afb4bce63837d46e8d03034 /packet-srvloc.c
parentce00b6057c1ba3090dc0ebd83b87723fe4a9b94f (diff)
Put back the stuff for an attribute authentication block at the end of a
V1 Service Deregister message; I can't see anything in the RFC that says it's possible to have one, but maybe it's a post-RFC-2165 addition. svn path=/trunk/; revision=7189
Diffstat (limited to 'packet-srvloc.c')
-rw-r--r--packet-srvloc.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/packet-srvloc.c b/packet-srvloc.c
index 745fe8c613..47e93e7023 100644
--- a/packet-srvloc.c
+++ b/packet-srvloc.c
@@ -7,7 +7,7 @@
* In particular I have not had an opportunity to see how it
* responds to SRVLOC over TCP.
*
- * $Id: packet-srvloc.c,v 1.38 2003/02/24 02:04:18 guy Exp $
+ * $Id: packet-srvloc.c,v 1.39 2003/02/24 19:23:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -567,6 +567,14 @@ dissect_srvloc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 2;
add_v1_string(srvloc_tree, hf_srvloc_srvdereg_taglist, tvb, offset, length, encoding);
offset += length;
+ /*
+ * XXX - this was there before, but RFC 2165 doesn't speak
+ * of there being an attribute authentication block in
+ * a Service Deregister message. Is that a post-RFC-2165
+ * addition?
+ */
+ if ( (flags & FLAG_A) == FLAG_A )
+ offset = dissect_authblk(tvb, offset, srvloc_tree);
break;
case SRVACK: