diff --git a/src/cfgparse.c b/src/cfgparse.c index 2519e84a8..a9d766276 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -6260,9 +6260,8 @@ int check_config_validity() /* we force the backend to be present on at least all of * the frontend's processes. */ - if (target->bind_proc) - target->bind_proc = curproxy->bind_proc ? - (target->bind_proc | curproxy->bind_proc) : 0; + target->bind_proc = curproxy->bind_proc ? + (target->bind_proc | curproxy->bind_proc) : 0; /* Emit a warning if this proxy also has some servers */ if (curproxy->srv) { @@ -6298,9 +6297,8 @@ int check_config_validity() /* we force the backend to be present on at least all of * the frontend's processes. */ - if (target->bind_proc) - target->bind_proc = curproxy->bind_proc ? - (target->bind_proc | curproxy->bind_proc) : 0; + target->bind_proc = curproxy->bind_proc ? + (target->bind_proc | curproxy->bind_proc) : 0; } } } @@ -6352,9 +6350,8 @@ int check_config_validity() /* we force the backend to be present on at least all of * the frontend's processes. */ - if (target->bind_proc) - target->bind_proc = curproxy->bind_proc ? - (target->bind_proc | curproxy->bind_proc) : 0; + target->bind_proc = curproxy->bind_proc ? + (target->bind_proc | curproxy->bind_proc) : 0; } }