Ethereal-dev: Re: [Ethereal-dev] RADIUS IPv6 RFC3162

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 6 Mar 2004 12:46:53 +0100
On Fri, Mar 05, 2004 at 04:32:20PM -0800, Budiyanto Fritz wrote:
> Here I attach various IPv6 attribute for
> packet-radius.c
> @@ -2500,19 +2526,22 @@
>  			tvb_get_ntohs(tvb,offset+4));
>   		break;
>  
> -	case( THE3GPP_IMSI ):
> -	case( THE3GPP_IMSI_MCC_MNC ):
> -	case( THE3GPP_GGSN_MCC_MNC ):
> -	case( THE3GPP_SGSN_MCC_MNC ):
> -	case( THE3GPP_SELECTION_MODE ):
> -	case( THE3GPP_CHARGING_CHARACTERISTICS ):
> -		sprintf(cont,"(encoded in UTF-8 format)");
> -		break;
> +    case( THE3GPP_IMSI ):
> +    case( THE3GPP_IMSI_MCC_MNC ):
> +    case( THE3GPP_GGSN_MCC_MNC ):
> +    case( THE3GPP_SGSN_MCC_MNC ):
> +    case( THE3GPP_SELECTION_MODE ):
> +    case( THE3GPP_CHARGING_CHARACTERISTICS ):
> +        sprintf(cont,"(encoded in UTF-8 format)");
> +        break;
> +
> +    case( THE3GPP_NSAPI ):
> +    case( THE3GPP_SESSION_STOP_INDICATOR ):
> +        sprintf(cont,"(not parsed)");
> +        break;
>  
> -	case( THE3GPP_NSAPI ):
> -	case( THE3GPP_SESSION_STOP_INDICATOR ):
>  	case( THE3GPP_IPV6_DNS_SERVERS ):
> -		sprintf(cont,"(not parsed)");
> +        ip6_to_str_buf((const struct e_in6_addr *)tvb_get_ptr(tvb,offset+2,16),cont);

Why these formatting changes? They make the file look inconsistent.

 Ciao
  Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.