Don't add a new data source if we don't have any data.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 26 Jul 2005 15:59:54 +0000 (15:59 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 26 Jul 2005 15:59:54 +0000 (15:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15089 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-radius.c

index 3416043cd99d6fdfd6931e514756be895b2edf60..e61273cc0f24f4cdcd34b03b955b1763dbcb0983 100644 (file)
@@ -533,7 +533,7 @@ static void dissect_attribute_value_pairs(proto_tree *tree, packet_info *pinfo,
                                        last_eap = TRUE;
                                }
 
-                               if (last_eap) {
+                               if (last_eap && eap_buffer) {
                                        gboolean save_writable;
 
                                        proto_item_append_text(avp_item,