keepalived: add indent param in config_section_open/close
authorRishabh <redacted>
Mon, 20 Apr 2026 16:21:37 +0000 (21:51 +0530)
committerFlorian Eckert <redacted>
Mon, 27 Apr 2026 12:28:04 +0000 (14:28 +0200)
commitc75235e52323357e97d14df60c95ccaa9690d5ed
tree6ff927163f1141c688d5dd5c7e78ff3f41f14848
parente6e05d2aa636dee3a069c9500a083b7d76fecdcc
keepalived: add indent param in config_section_open/close

Add a parameter for indent in config_section_open and
config_section_close. Previously you had to separately add indents
while parsing if a section was inside another section.
Now this is supported by these two functions.
You can specify how much indent you need to add before opening or closing
a section.

Signed-off-by: Rishabh <redacted>
net/keepalived/files/keepalived.init
git clone https://git.99rst.org/PROJECT