Commit bed06ef0 authored by Ted Trask's avatar Ted Trask

Swap incoming and outgoing to match previous

parent bafb292e
......@@ -84,10 +84,10 @@ local function racoonctl_table()
local incoming = {}
local outgoing = {}
for l in string.gmatch(phase2details, "src [^\n]* "..dst.."\n") do
outgoing[#outgoing+1] = l
incoming[#incoming+1] = l
for l in string.gmatch(phase2details, "src "..dst.." [^\n]*\n") do
incoming[#incoming+1] = l
outgoing[#outgoing+1] = l
local phase2s = {{label="Outgoing", value=table.concat(outgoing)}, {label="Incoming", value=table.concat(incoming)}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment