diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-11 12:46:51 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-11 22:11:01 +0100 |
commit | 84ef17ac0eecb3efc11a63c3f2c578ae78732c02 (patch) | |
tree | c62632ddf7ae57a999a89938ecaf8e590bfcc019 /print-sflow.c | |
parent | 264ed29aae3407c1a6816c64813806a077ccebcb (diff) | |
download | tcpdump-84ef17ac0eecb3efc11a63c3f2c578ae78732c02.tar.gz |
Replace ND_TTEST2()/ND_TCHECK2() macros by macros using pointers (1/n)
ND_TTEST2(var, l) -> ND_TTEST_LEN(p, l)
ND_TCHECK2(var, l) -> ND_TCHECK_LEN(p, l)
Diffstat (limited to 'print-sflow.c')
-rw-r--r-- | print-sflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-sflow.c b/print-sflow.c index 0ccb1f32..b16a3ed6 100644 --- a/print-sflow.c +++ b/print-sflow.c @@ -945,7 +945,7 @@ sflow_print(netdissect_options *ndo, goto trunc; /* did we capture enough for fully decoding the sample ? */ - ND_TCHECK2(*tptr, sflow_sample_len); + ND_TCHECK_LEN(tptr, sflow_sample_len); switch(sflow_sample_type) { case SFLOW_FLOW_SAMPLE: |