Hi,
Shold'nt the following coding work?

        guint8          tempchar;

        tempchar = tvb_get_guint8(tvb, tvb_previous_offset );
        
        switch ( tempchar ){
                /* domainAddress */
                case '[':
                        tvb_current_offset = tvb_find_guint8(tvb, tvb_previous_offset, 
tvb_len, ']');

I don't get a match eventhoug I'm prety certain that tempchar holds '['
How should I do this instead ?

Best regards
Anders  

Reply via email to