summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/index.html b/index.html
index b965dac..c508168 100644
--- a/index.html
+++ b/index.html
@@ -86,9 +86,17 @@
data.name = strip(data.hostname);
data.interfaces = _.map(
- _.groupBy(data.addresses, function(x) {
- return x.interface;
- }), function(obj, key) { obj.device = key; return obj; });
+ _.groupBy(
+ _.filter(data.addresses, function(x) {
+ return typeof x.vserver == 'undefined';
+ }),
+ function(x) {
+ return x.interface;
+ }),
+ function(obj, key) {
+ obj.device = key;
+ return obj;
+ });
$.Mustache.load('./templates/host.html').done(function () {
$('#content').mustache('hostinfo', data, {method: 'html'});