summaryrefslogtreecommitdiff
path: root/print-ldp.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-ldp.c')
-rw-r--r--print-ldp.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/print-ldp.c b/print-ldp.c
index c7fb68d4..b974f1d7 100644
--- a/print-ldp.c
+++ b/print-ldp.c
@@ -16,7 +16,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.9 2005-04-19 19:41:02 hannes Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.10 2005-04-19 20:17:49 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -384,9 +384,12 @@ ldp_tlv_print(register const u_char *tptr) {
break;
case LDP_FEC_MARTINI_IFPARM_VCCV:
- printf("\n\t\t Control Channel Flags [%s]\n\t\t CV Types [%s]",
- bittok2str(ldp_fec_martini_ifparm_vccv_cc_values,"none",*tptr+2),
- bittok2str(ldp_fec_martini_ifparm_vccv_cc_values,"none",*tptr+3));
+ printf("\n\t\t Control Channels (0x%02x) = [%s]",
+ *(tptr+2),
+ bittok2str(ldp_fec_martini_ifparm_vccv_cc_values,"none",*(tptr+2)));
+ printf("\n\t\t CV Types (0x%02x) = [%s]",
+ *(tptr+3),
+ bittok2str(ldp_fec_martini_ifparm_vccv_cv_values,"none",*(tptr+3)));
break;
default: