Message ID | CAGCkEt2zMU6N3rp=6F0P4TicWHbhy6+-JMg8W1aQB2tF6EHrrA@mail.gmail.com |
---|---|
State | Accepted |
Delegated to: | Eric Leblond |
Headers | show |
Hello,
Thanks for the patch.
On Fri, 2014-03-07 at 15:43 +0900, Ken-ichirou MATSUZAWA wrote:
> It was always default if not specified by command parameter.
Oups, that's a stupid error I've made. It has been added to my private
git tree and will be soon pushed to the public repository.
Thanks again.
BR,
diff --git a/src/ulogd.c b/src/ulogd.c index 2c0fbd1..670a6e2 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -1383,9 +1383,10 @@ int main(int argc, char* argv[]) } /* command line has precedence on config file */ - if (loglevel) + if (loglevel) { loglevel_ce.u.value = loglevel; loglevel_ce.flag |= CONFIG_FLAG_VAL_PROTECTED; + } if (ulogd_pidfile) { if (create_pidfile() < 0)
It was always default if not specified by command parameter. Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp> --- src/ulogd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html