]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: check the proper pointer to report unknown protocol
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Sep 2012 20:47:39 +0000 (22:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Sep 2012 20:49:06 +0000 (22:49 +0200)
commit173e7fbd94627cc0a1454dd303d41b8d5d922a1d
tree7d83531e4c5b308e2cec515360d914277815fce4
parente92693af2690e735d429d723c1dbc300c7a48637
BUG/MINOR: config: check the proper pointer to report unknown protocol

Check the protocol pointer and not the socket to report an unknown family
in servers or peers. This can never happen anyway, it's just to be completely
clean.
src/cfgparse.c