iptables: fix loading standard target
authorRalph Sennhauser <ralph.sennhauser@gmail.com>
Sat, 5 Nov 2016 16:40:38 +0000 (17:40 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 5 Nov 2016 16:56:14 +0000 (17:56 +0100)
commit010723ef8af18add1e592a55092d4b0e1c5e1efe
tree55c4364b65357c4c88772757580b7167d0c3ecda
parentdd013720b42d6df91176dc9e87f815dcd5d69519
iptables: fix loading standard target

In case iptables is built with --disable-static xt_standard needs to be
loaded just like the other extensions.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
[Jo-Philipp Wich: minor code style change to if/return instead of if/else]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.c