iptables: fix loading standard target
authorRalph Sennhauser <[email protected]>
Sat, 5 Nov 2016 16:40:38 +0000 (17:40 +0100)
committerJo-Philipp Wich <[email protected]>
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 <[email protected]>
[Jo-Philipp Wich: minor code style change to if/return instead of if/else]
Signed-off-by: Jo-Philipp Wich <[email protected]>
iptables.c