From e86825b8f822a731a51e4c37c15d674417d39565 Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Sun, 13 Jul 2008 17:19:33 +0000 Subject: From Francesco Fondelli: Attached is a patch for: - PW Associated Channel Header dissection as per RFC 4385 - PW MPLS Control Word dissection as per RFC 4385 - mpls subdissector table indexed by label value - enhanced "what's past last mpls label?" heuristic - Ethernet PW (w/o CW) support as per RFC 4448 svn path=/trunk/; revision=25730 --- gtk/decode_as_dlg.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gtk/decode_as_dlg.c') diff --git a/gtk/decode_as_dlg.c b/gtk/decode_as_dlg.c index 9d003d3160..a88ac8ce9a 100644 --- a/gtk/decode_as_dlg.c +++ b/gtk/decode_as_dlg.c @@ -1640,6 +1640,14 @@ decode_add_notebook (GtkWidget *format_hb) gtk_notebook_append_page(GTK_NOTEBOOK(notebook), page, label); } + /* Add mpls selection page */ + if (cfile.edt->pi.mpls_label) { + g_snprintf(buffer, 40, "Data after label %u", cfile.edt->pi.mpls_label); + page = decode_add_simple_page(buffer, "MPLS", "mpls.label", cfile.edt->pi.mpls_label); + label = gtk_label_new("MPLS"); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), page, label); + } + /* Add network selection page */ if (cfile.edt->pi.ipproto) { /* -- cgit v1.2.3