Signed-off-by: Benjamin Böhmke <benjamin@boehmke.net>
| ... | ... |
@@ -746,6 +746,9 @@ func verifyDaemonSettings(conf *config.Config) error {
|
| 746 | 746 |
if !conf.BridgeConfig.EnableIPTables && !conf.BridgeConfig.InterContainerCommunication {
|
| 747 | 747 |
return fmt.Errorf("You specified --iptables=false with --icc=false. ICC=false uses iptables to function. Please set --icc or --iptables to true")
|
| 748 | 748 |
} |
| 749 |
+ if conf.BridgeConfig.EnableIP6Tables && !conf.Experimental {
|
|
| 750 |
+ return fmt.Errorf("ip6tables rules are only available if experimental features are enabled")
|
|
| 751 |
+ } |
|
| 749 | 752 |
if !conf.BridgeConfig.EnableIPTables && conf.BridgeConfig.EnableIPMasq {
|
| 750 | 753 |
conf.BridgeConfig.EnableIPMasq = false |
| 751 | 754 |
} |