DOCKER=Yes requires IPTABLES_S

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-02-20 10:03:06 -08:00
parent 4306ff1029
commit caba1cd770

View File

@ -5861,6 +5861,8 @@ sub get_configuration( $$$$ ) {
default_yes_no 'WORKAROUNDS' , 'Yes';
default_yes_no 'DOCKER' , '';
require_capability( 'IPTABLES_S', 'DOCKER=Yes', 's' ) if $config{DOCKER};
if ( supplied( $val = $config{RESTART} ) ) {
fatal_error "Invalid value for RESTART ($val)" unless $val =~ /^(restart|reload)$/;
} elsif (supplied $config{LEGACY_RESTART} ) {