Re: [dpdk-dev] [PATCH v2] log: fix pattern matching

2018-05-21 Thread Thomas Monjalon
16/05/2018 16:09, Ferruh Yigit: > loglevel set wrong when ":" is used as separator, like > --log-type="user:debug" > > This is because fnmatch returns zero on success. Fixed fnmatch return > value check. > > Fixes: 7f0bb634a140 ("log: add ability to match log type with globbing") > Cc: step...@ne

[dpdk-dev] [PATCH v2] log: fix pattern matching

2018-05-16 Thread Ferruh Yigit
loglevel set wrong when ":" is used as separator, like --log-type="user:debug" This is because fnmatch returns zero on success. Fixed fnmatch return value check. Fixes: 7f0bb634a140 ("log: add ability to match log type with globbing") Cc: step...@networkplumber.org Signed-off-by: Ferruh Yigit -