[OLSR-users] invalid Link type between sym_NEIGH ?

Frédéric DELAUNAY (spam-protected)
Fri Apr 8 17:13:24 CEST 2005


for Information here's the code from ethereal:
 >                    /*------------------------------Dissect Link 
Type---------------------------------- */
 >                    switch(tvb_get_guint8(tvb, offset))    {
 >                        case 0:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Unspecified Link");
 >                            break;
 >                        case 1:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Asymmetric Link");
 >                            break;
 >                        case 6:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Symmetric Link");
 >                            break;
 >                        case 3:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Lost Link");
 >                            break;
 >                        case 10:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: MPR Link");
 >                            break;
 >                        case 5:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Pending");
 >                            break;
 >                        default:
 >                            proto_tree_add_uint_format(olsr_tree, 
hf_olsr_link_type, tvb, offset, 1, tvb_get_guint8(tvb, offset), "Link 
Type: Invalid");
 >                            break;
 >                    }/* end switch Link Type */
 >
 >                    /*----------------------Dissect Link Message 
Size--------------------------*/

So the 04 should be 06 ? Isn't it ?
Fred

Andreas Tønnesen a écrit :

>>>>What is the actual value of the link type field in question?
>>>>
>>>>- Andreas
>>>>        
>>>>
>>The actual value is 04. invalid for ethereal.
>>Fred
>>    
>>
>
>Strange... I'll have a look at it later on.
>
>- Andreas
>
>
>---------
>Andreas Tønnesen
>http://www.olsr.org
>_______________________________________________
>olsr-users mailing list
>(spam-protected)
>https://www.olsr.org/mailman/listinfo/olsr-users
>
>  
>



More information about the Olsr-users mailing list