xtables-addons: Avoid redefinition of SHRT_MAX in lua packet script
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 2 May 2016 09:57:59 +0000 (11:57 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 2 May 2016 17:28:01 +0000 (18:28 +0100)
commit6a06cd833187f09fdb4dd9b5ee169791fbde6047
treef4b5d94f9281a7d4132207da75227943c677de82
parenta6f76bffd89add05a545faf95bcef63dad02f8bc
xtables-addons: Avoid redefinition of SHRT_MAX in lua packet script

Patch Lua packet script defines SHRT_MAX which is already defined in <linux/kernel.h> and
is included indirectly by lauxlib.h. Fix the redefintion as it leads to compile failure
on systems which treat macro redefinition as an error

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch