From b79700a68ee70a1d378531286b89af8048ef9311 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Thu, 28 Jun 2012 07:43:52 +0000 Subject: show source policy for each item in dump output --- awall-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awall-cli') diff --git a/awall-cli b/awall-cli index 16d08cb..a516ded 100755 --- a/awall-cli +++ b/awall-cli @@ -131,7 +131,7 @@ if mode == 'dump' then def = json.encode(v) exp = json.encode(expconfig[section][k]) if exp ~= def then def = def..' = '..exp end - table.insert(lines, k..' = '..def) + table.insert(lines, k..' = '..def..' ('..config.source[section][k]..')') end table.sort(lines) for i, line in ipairs(lines) do print(line) end -- cgit v1.2.3