Fix addHost force_add logic

Use boolean where we can
Fixes #4001
This commit is contained in:
Tony Murray
2016-08-09 15:00:12 -05:00
parent d0d84503f1
commit eadeeb9409
3 changed files with 13 additions and 17 deletions

View File

@@ -37,9 +37,9 @@ if (isset($options['f']) && $options['f'] == 0) {
$cmd = array_shift($argv);
array_shift($argv);
array_unshift($argv, $cmd);
$force_add = 1;
$force_add = true;
} else {
$force_add = 0;
$force_add = false;
}
$port_assoc_mode = $config['default_port_association_mode'];