BUG/MINOR: server: re-align state file fields number
authorWilliam Dauchy <wdauchy@gmail.com>
Mon, 8 Feb 2021 22:53:29 +0000 (23:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Feb 2021 09:23:24 +0000 (10:23 +0100)
commitb8b2e8fbe57188d175ab56e57a199364d2546410
tree707939584b3ef3788dafd695c218e9bb0e59cd74
parentd50c18f9c78d0ba0ff357c9a8b51941a8cda3441
BUG/MINOR: server: re-align state file fields number

Since commit 3169471964fdc49963e63f68c1fd88686821a0c4 ("MINOR: Add
server port field to server state file.") max_fields was not increased
on version number 1. So this patch aims to fix it. This should be
backported as far as v1.8, but the numbering should be adpated depending
on the version: simply increase the field by 1.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
(cherry picked from commit 38cd986c54975add4e14ef0f693dff494e36336d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/server-t.h