BUG/MINOR: spoe: Don't compare engine name and SPOE scope when both are NULL
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Sep 2017 08:35:35 +0000 (10:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 10:36:12 +0000 (11:36 +0100)
commite1405e5f802123eec8270ab87d6e9637c40dfd6a
tree707eefe43a59f653cbf3574fcc42a7cf964978a3
parentd22e83abd90a6b52101c0a9efb59186f56154572
BUG/MINOR: spoe: Don't compare engine name and SPOE scope when both are NULL

SPOE filter can be declared without engine name. This is an optional
parameter. But in this case, no scope must be used in the SPOE configuration
file. So engine name and scope are both undefined, and, obviously, we must not
try to compare them.

This patch must be backported in 1.7.
src/flt_spoe.c