aboutsummaryrefslogtreecommitdiffstats
path: root/packet-radius.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-06 22:17:28 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-06 22:17:28 +0000
commitd3dc33ec1b4f2d570fc414c1ca56d08907bf33bb (patch)
tree69033b60360a4d2dc1e3b259bcb7449fc951085c /packet-radius.c
parent5d4ee9fe20c8d4af853eb539a21064643a099627 (diff)
Note that for THE3GPP_IPV6_DNS_SERVERS we probably *do* need to handle
multiple IPv6 addresses. svn path=/trunk/; revision=10338
Diffstat (limited to 'packet-radius.c')
-rw-r--r--packet-radius.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/packet-radius.c b/packet-radius.c
index 810ae0f20f..295f4dc78e 100644
--- a/packet-radius.c
+++ b/packet-radius.c
@@ -6,7 +6,7 @@
*
* RFC 2865, RFC 2866, RFC 2867, RFC 2868, RFC 2869
*
- * $Id: packet-radius.c,v 1.94 2004/03/06 22:06:26 guy Exp $
+ * $Id: packet-radius.c,v 1.95 2004/03/06 22:17:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2398,6 +2398,7 @@ static void rd_value_to_str(gchar *dest, rd_vsa_buffer (*vsabuffer)[VSABUFFER],
guint8 tag;
guint8 ipv6_prefix_length;
guint8 ipv6_addr_temp[16];
+ gint avp_length_remaining;
int vsa_length;
int vsa_len;
@@ -2541,9 +2542,9 @@ static void rd_value_to_str(gchar *dest, rd_vsa_buffer (*vsabuffer)[VSABUFFER],
break;
case( THE3GPP_IPV6_DNS_SERVERS ):
- /* XXX - does this have more than one IPv6 address?
- If not, we should just use RADIUS_IP6_ADDRESS;
- if so, we should process those addresses. */
+ /* XXX - this is described as a list of IPv6 addresses of
+ DNS servers, so we probably need to process more than
+ one IPv6 address. */
ip6_to_str_buf((const struct e_in6_addr *)tvb_get_ptr(tvb,offset+2,16),cont);
break;