aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/decode_as_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-07-11 09:50:09 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-07-11 09:50:09 +0000
commit93a3a50a01ea67b2791b75044ffefc3ab63ffdcd (patch)
treebca980bc5686fd0a8d0fed40922b44c2593d4757 /gtk/decode_as_dlg.c
parentf8393d2e028362671ef8407f3f7aa4f4b57c2bf8 (diff)
From Artem Tamazov:
Analyze->Decode as... menu item becomes unavailable in some situations.(Ethernet-PW) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3642 svn path=/trunk/; revision=29063
Diffstat (limited to 'gtk/decode_as_dlg.c')
-rw-r--r--gtk/decode_as_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/decode_as_dlg.c b/gtk/decode_as_dlg.c
index 9902844559..255360c17d 100644
--- a/gtk/decode_as_dlg.c
+++ b/gtk/decode_as_dlg.c
@@ -1634,6 +1634,7 @@ decode_as_ok(void)
{
return cfile.edt->pi.ethertype || cfile.edt->pi.ipproto ||
cfile.edt->pi.ptype == PT_TCP || cfile.edt->pi.ptype == PT_UDP ||
+ cfile.edt->pi.mpls_label ||
cfile.cd_t == WTAP_FILE_BER;
}