From c8327a2f3d5668f22a669f46040c7ac4d6629d39 Mon Sep 17 00:00:00 2001 From: Frederick Borges Date: Fri, 26 Mar 2021 11:11:22 +0100 Subject: [PATCH] M #~: External IP on datatable (#1033) Signed-off-by: Frederick Borges --- src/sunstone/public/app/opennebula/vm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/opennebula/vm.js b/src/sunstone/public/app/opennebula/vm.js index 930115effd..74cfa02b0c 100644 --- a/src/sunstone/public/app/opennebula/vm.js +++ b/src/sunstone/public/app/opennebula/vm.js @@ -1088,7 +1088,7 @@ define(function(require) { return copy_nics.reduce(function(column, nic) { if (first){ if (nic.IP || (nic.IP6_ULA && nic.IP6_GLOBAL)) { - var ip = nic.IP || nic.IP6_ULA + " " + identation + nic.IP6_GLOBAL; + var ip = nic.EXTERNAL_IP || nic.IP || nic.IP6_ULA + " " + identation + nic.IP6_GLOBAL; column.append(nic.NIC_ID + ": " + ip + ""); } first=false;