]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
psd: byteswap constant value instead
authorFlorian Westphal <fw@strlen.de>
Fri, 11 Sep 2009 09:05:55 +0000 (11:05 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 11 Sep 2009 19:38:23 +0000 (21:38 +0200)
commit342ccf62b2b5dafe07dbd3d82be08803eb6a00a2
tree8b718abe48cfd9742c51fb0d2081ce87b19cff20
parentadabd647b1d0421f961b5cc3808128001facb9bd
psd: byteswap constant value instead

htons(CONSTANT) is computed at compile time.
reduces .text by 4 bytes on x86.

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
extensions/xt_psd.c