diff options
author | Phil Sutter <phil@nwl.cc> | 2022-10-06 18:20:14 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-11-15 16:58:16 +0100 |
commit | d9813e31f7e616b2e0dfea841aecfe40dd51a697 (patch) | |
tree | cad536cc69c3255ad2a2f8aeae0201186f3387ab /extensions/libxt_LOG.c | |
parent | eb2546a8467764de357598e6a54ddbc23ca5ee7d (diff) |
nft-shared: Introduce port_match_single_to_range()
The same algorithm was present four times, outsource it. Also use
max()/min() macros for a more readable boundary notation.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_LOG.c')
0 files changed, 0 insertions, 0 deletions