Fix a formatting error.
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 12 Nov 2011 23:03:30 +0000 (23:03 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 12 Nov 2011 23:03:30 +0000 (23:03 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39814 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-netanalyzer.c

index 82963dea2ced52c7f35f45fa6d8867db332bc07d..0e53ab230d305fd7eb381fb1e65958d74921c87a 100644 (file)
@@ -216,11 +216,14 @@ dissect_netanalyzer_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         {
           if (packet_status & (1 << idx))
           {
-            if (!first)
+            if (first)
             {
-              ep_strbuf_append(strbuf, ", ");
               first = FALSE;
             }
+            else
+            {
+              ep_strbuf_append(strbuf, ", ");
+            }
             ep_strbuf_append(strbuf, msk_strings[idx]);
           }
         }