X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/19e9fbaa1396067396b8fbfa2b9af65eae8cb3a5..6657f1424e71fdf26ced33231b1e00bfd38339ed:/print-ldp.c?ds=sidebyside diff --git a/print-ldp.c b/print-ldp.c index c42ee224..7154325d 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.8.2.8 2006-02-03 08:42:30 hannes Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.8.2.10 2007-02-26 13:31:33 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -33,6 +33,7 @@ static const char rcsid[] _U_ = #include "decode_prefix.h" #include "extract.h" #include "addrtoname.h" +#include "af.h" #include "l2vpn.h" @@ -214,15 +215,8 @@ static const struct tok ldp_fec_martini_ifparm_vccv_cv_values[] = { { 0, NULL} }; -/* RFC1700 address family numbers, same definition in print-bgp.c */ -/* FIXME: move all AF stuff into dedicated files */ -#define AFNUM_INET 1 -#define AFNUM_INET6 2 #define AFNUM_LEN 2 -#define FALSE 0 -#define TRUE 1 - int ldp_msg_print(register const u_char *); int ldp_tlv_print(register const u_char *);