Fix inline interface check on netfilter interfaces

This commit is contained in:
emanuele-f 2017-08-05 18:31:17 +02:00
parent a82a3106ad
commit 218933ad2a
2 changed files with 3 additions and 2 deletions

View file

@ -3372,7 +3372,7 @@ function paramsPairsDecode(params, strict_mode)
end
function isBridgeInterface(ifstats)
return (ifstats["bridge.device_a"] ~= nil) and (ifstats["bridge.device_b"] ~= nil)
return ifstats.inline
end
function hasBridgeInterfaces()