Browse Source

ffho-debug: don't transmit private-keys
fixes issue #6

Karsten Böddeker 8 years ago
parent
commit
a817f160fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffho/ffho-debug/files/bin/ffho-debug

+ 1 - 1
ffho/ffho-debug/files/bin/ffho-debug

@@ -64,7 +64,7 @@ if oldReport==nil then
 
     -- show uci variables
 	debugdata = debugdata .. "---- BEGIN UCI VARIABLES ----\n"
-	debugdata = debugdata .. cmd("uci show")
+	debugdata = debugdata .. cmd("uci show | grep -v '\.key' | grep -v '\.secret'")
 	debugdata = debugdata .. "---- END UCI VARIABLES ----\n\n"
 
 	-- now get some information about the network status