mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements use of post-nat src/dst addresses and ports
Implements https://github.com/ntop/ntopng/issues/1398
This commit is contained in:
parent
3f051b4335
commit
906aff3e20
10 changed files with 59 additions and 10 deletions
|
|
@ -91,6 +91,20 @@ function printInterfaces()
|
|||
labels, values, "none", "primary", "disaggregation_criterion", "ntopng.prefs.dynamic_flow_collection_mode", nil,
|
||||
elementToSwitch, showElementArray, javascriptAfterSwitch)
|
||||
|
||||
print('<tr><th colspan=2 class="info">'..i18n("prefs.zmq_interfaces")..'</th></tr>')
|
||||
|
||||
prefsToggleButton({
|
||||
field = "toggle_dst_with_post_nat_dst",
|
||||
default = "0",
|
||||
pref = "override_dst_with_post_nat_dst",
|
||||
})
|
||||
|
||||
prefsToggleButton({
|
||||
field = "toggle_src_with_post_nat_src",
|
||||
default = "0",
|
||||
pref = "override_src_with_post_nat_src",
|
||||
})
|
||||
|
||||
print('<tr><th colspan=2 style="text-align:right;"><button type="submit" class="btn btn-primary" style="width:115px">'..i18n("save")..'</button></th></tr>')
|
||||
print('</table>')
|
||||
print [[<input id="csrf" name="csrf" type="hidden" value="]] print(ntop.getRandomCSRFValue()) print [[" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue