tune the portvlanmismatch and include domain name in report view
This commit is contained in:
@@ -20,8 +20,7 @@ $(document).ready(function() {
|
||||
{
|
||||
"data": 'left_ip',
|
||||
"render": function(data, type, row, meta) {
|
||||
return '<a href="[% device_ports | none %]&q=' + encodeURIComponent(data) + '">' + he.encode(data || '') + '</a>'
|
||||
+ '<br />' + he.encode(row.left_dns || ''); }
|
||||
return '<a href="[% device_ports | none %]&q=' + encodeURIComponent(data) + '">' + he.encode(row.left_dns || data || '') + '</a>'; }
|
||||
}, {
|
||||
"data": 'left_port',
|
||||
"type": 'portsort',
|
||||
@@ -35,8 +34,7 @@ $(document).ready(function() {
|
||||
}, {
|
||||
"data": 'right_ip',
|
||||
"render": function(data, type, row, meta) {
|
||||
return '<a href="[% device_ports | none %]&q=' + encodeURIComponent(data) + '">' + he.encode(data || '') + '</a>'
|
||||
+ '<br />' + he.encode(row.right_dns || ''); }
|
||||
return '<a href="[% device_ports | none %]&q=' + encodeURIComponent(data) + '">' + he.encode(row.right_dns || data || '') + '</a>'; }
|
||||
}, {
|
||||
"data": 'right_port',
|
||||
"type": 'portsort',
|
||||
|
||||
Reference in New Issue
Block a user