diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2020-08-24 21:53:58 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2020-08-24 21:53:58 +0100 |
commit | 5c2027db88176ff4073d552a887429a3c9d3acee (patch) | |
tree | 28c3d2d57d760fb007924de11d96161b82272931 /print-mptcp.c | |
parent | d5bb7824e1092793a2961f0ed6f984f193ac6cbb (diff) | |
download | tcpdump-5c2027db88176ff4073d552a887429a3c9d3acee.tar.gz |
Rename min() and max() to ND_MIN() and ND_MAX(). [skip ci]
As discussed on tcpdump-workers, it was a place for a potential clash
with non-macros.
Diffstat (limited to 'print-mptcp.c')
-rw-r--r-- | print-mptcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-mptcp.c b/print-mptcp.c index c2d61e15..cf01d9c9 100644 --- a/print-mptcp.c +++ b/print-mptcp.c @@ -464,7 +464,7 @@ mptcp_print(netdissect_options *ndo, opt = (const struct mptcp_option *) cp; ND_TCHECK_SIZE(opt); - subtype = min(MPTCP_OPT_SUBTYPE(opt->sub_etc), MPTCP_SUB_FCLOSE + 1); + subtype = ND_MIN(MPTCP_OPT_SUBTYPE(opt->sub_etc), MPTCP_SUB_FCLOSE + 1); ND_PRINT(" %s", mptcp_options[subtype].name); return mptcp_options[subtype].print(ndo, cp, len, flags); |