aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/column-utils.c1
-rw-r--r--gtk/packet_list_store.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c
index cbefe2c4d2..87a88ed964 100644
--- a/epan/column-utils.c
+++ b/epan/column-utils.c
@@ -1158,7 +1158,6 @@ static void
col_set_addr(packet_info *pinfo, const int col, const address *addr, const gboolean is_src, const gboolean fill_col_exprs)
{
if (addr->type == AT_NONE) {
- pinfo->cinfo->col_data[col] = "";
/* No address, nothing to do */
return;
}
diff --git a/gtk/packet_list_store.c b/gtk/packet_list_store.c
index acf7d0f9a5..844959c7fc 100644
--- a/gtk/packet_list_store.c
+++ b/gtk/packet_list_store.c
@@ -683,7 +683,6 @@ packet_list_change_record(PacketList *packet_list, guint row, gint col, column_i
return;
switch (cfile.cinfo.col_fmt[col]) {
- case COL_DEF_SRC:
case COL_RES_SRC: /* COL_DEF_SRC is currently just like COL_RES_SRC */
case COL_UNRES_SRC:
case COL_DEF_DL_SRC:
@@ -692,7 +691,6 @@ packet_list_change_record(PacketList *packet_list, guint row, gint col, column_i
case COL_DEF_NET_SRC:
case COL_RES_NET_SRC:
case COL_UNRES_NET_SRC:
- case COL_DEF_DST:
case COL_RES_DST: /* COL_DEF_DST is currently just like COL_RES_DST */
case COL_UNRES_DST:
case COL_DEF_DL_DST:
@@ -709,6 +707,8 @@ packet_list_change_record(PacketList *packet_list, guint row, gint col, column_i
++packet_list->const_strings;
#endif
break;
+ case COL_DEF_SRC:
+ case COL_DEF_DST:
case COL_PROTOCOL:
case COL_INFO:
case COL_IF_DIR: