]> git.ipfire.org Git - thirdparty/suricata.git/commit
Promote nodes set with --set to sequence nodes as needed. 839/head
authorJason Ish <jason.ish@emulex.com>
Mon, 10 Feb 2014 20:47:43 +0000 (14:47 -0600)
committerJason Ish <jason.ish@emulex.com>
Mon, 10 Feb 2014 20:47:43 +0000 (14:47 -0600)
commit33e4cc065f31706b481441fcd1b28526a3374f7b
treea0739597cc6ef14620d30c8cdcdb52fb8c0f8bb2
parent18edec876917852e66df54836a9ebbdbe684551b
Promote nodes set with --set to sequence nodes as needed.

A node isn't known to be a sequence node until the YAML is parsed.
If a node sequence node was set on the command line, promote
it to a sequence node when it is discovered by YAML to be
a sequence node.

Fixes comment #18 in issue 921.
src/conf-yaml-loader.c