Implements use of post-nat src/dst addresses and ports

Implements https://github.com/ntop/ntopng/issues/1398
This commit is contained in:
Simone Mainardi 2017-09-07 16:24:53 +02:00
parent 3f051b4335
commit 906aff3e20
10 changed files with 59 additions and 10 deletions

View file

@ -312,7 +312,6 @@ end
function toggleTableButtonPrefs(label, comment, on_label, on_value, on_color , off_label, off_value, off_color, submit_field,
redis_key, default_value, disabled, elementToSwitch, hideOn, showElement)
value = ntop.getPref(redis_key)
if(_POST[submit_field] ~= nil) then
if ( (value == nil) or (value ~= _POST[submit_field])) then