diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-11-03 22:01:05 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-11-03 22:01:05 +0000 |
commit | ed8927d316d4739ee7a3a59b4efd620dc1608ae3 (patch) | |
tree | 72e3e164a514a0ae5092ee8f07db15c8820adc5f /epan/dissectors/packet-3g-a11.c | |
parent | db6f524164db35537602b93eaca5bf879c79bf32 (diff) |
Fix GRE Key entry
svn path=/trunk/; revision=39729
Diffstat (limited to 'epan/dissectors/packet-3g-a11.c')
-rw-r--r-- | epan/dissectors/packet-3g-a11.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c index d1e907ca66..64bf877cab 100644 --- a/epan/dissectors/packet-3g-a11.c +++ b/epan/dissectors/packet-3g-a11.c @@ -820,7 +820,7 @@ static void dissect_ase(tvbuff_t* tvb, int offset, guint ase_len, proto_tree* ex ti = proto_tree_add_text(ext_tree, tvb, offset+clen, 0x0D+1+6+(profile_count*2)+1+6+(reverse_profile_count*2)+1, "GRE Key Entry (SRID: %d)", srid); } else if(service_option== 64){ - ti = proto_tree_add_text(ext_tree, tvb, offset+clen, 0x0D+1+2, "GRE Key Entry (SRID: %d)", srid); + ti = proto_tree_add_text(ext_tree, tvb, offset+clen, 0x0D+1, "GRE Key Entry (SRID: %d)", srid); } else { ti = proto_tree_add_text(ext_tree, tvb, 0, 0, "Unknown service option %u (SRID: %d)", service_option, srid); } @@ -923,19 +923,7 @@ static void dissect_ase(tvbuff_t* tvb, int offset, guint ase_len, proto_tree* ex }/*for*/ - }else if(service_option==0x0040){ -/* guint8 zero =tvb_get_guint8(tvb,offset+clen); - zero =0; - proto_item* tj = proto_tree_add_text - (exts_tree, tvb, offset+clen,1, "Forward ROHC Info:0",zero); - clen++; - zero =tvb_get_guint8(tvb,offset+clen); - proto_item* tl = proto_tree_add_text - (exts_tree, tvb, offset+clen,1, "Reverse ROHC Info:0",zero); - clen++; -*/ - clen+=2; - }/*else-if*/ + } }/* if */ |