aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/decode_as_dcerpc.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-09-07 19:20:48 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-09-07 19:20:48 +0000
commita39ba7e44bf468c82edafda1be99ea38456ddb57 (patch)
tree1c8738284acaf802c4d7d41de1e954e0122185d4 /gtk/decode_as_dcerpc.c
parent03e12ad5eec7b9f92c3cd900f3084262152a4a1b (diff)
don't put the "(none)" interface into the list, Ethereal will crash if it's applied to Decode As
svn path=/trunk/; revision=11927
Diffstat (limited to 'gtk/decode_as_dcerpc.c')
-rw-r--r--gtk/decode_as_dcerpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/decode_as_dcerpc.c b/gtk/decode_as_dcerpc.c
index 2d7a4aa8cb..d4bec00143 100644
--- a/gtk/decode_as_dcerpc.c
+++ b/gtk/decode_as_dcerpc.c
@@ -340,7 +340,8 @@ decode_dcerpc_add_to_list(gpointer key, gpointer value, gpointer user_data)
dcerpc_uuid_key *k = key;
dcerpc_uuid_value *v = value;
- decode_add_to_list("DCE-RPC", v->name, key, user_data);
+ if(strcmp(v->name, "(none)"))
+ decode_add_to_list("DCE-RPC", v->name, key, user_data);
}