diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-04 20:21:48 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-04 21:00:57 +0100 |
commit | 451ac4c753933eca8ffd5fd5192a03334520d789 (patch) | |
tree | d1b8f8cf57053464010b9edcf0d2f59cec8f1514 /print-mpls.c | |
parent | 00b189d27cd235c958497d9b1aca6d3addd55d43 (diff) | |
download | tcpdump-451ac4c753933eca8ffd5fd5192a03334520d789.tar.gz |
Use more the ND_TCHECK_1() macro
Diffstat (limited to 'print-mpls.c')
-rw-r--r-- | print-mpls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-mpls.c b/print-mpls.c index 2b287e79..b156ef7f 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -129,7 +129,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) * Cisco sends control-plane traffic MPLS-encapsulated in * this fashion. */ - ND_TCHECK(*p); + ND_TCHECK_1(p); if (length < 1) { /* nothing to print */ return; |