summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_DNAT.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-05-06 00:11:47 +0200
committerPhil Sutter <phil@nwl.cc>2022-05-11 12:02:39 +0200
commita7c2b7289cd31455b854fee7d5c735c6270518a3 (patch)
tree74568dc4c4fda1fae6054e96a30c8f74ea6142ca /extensions/libxt_DNAT.c
parentfd64a5871b671a66f1ba6d6e3aa83ed24d92c099 (diff)
libxtables: Revert change to struct xtables_pprot
While protocol values may exceed eight bits, the data structure is indeed used only to store the static list of name/value pairs for faster lookups. None of those has such a value and if one is added in future, the compiler will complain about it. So restore the old field type to retain binary compatibility. Fixes: 556f704458cdb ("Use proto_to_name() from xshared in more places") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_DNAT.c')
0 files changed, 0 insertions, 0 deletions