From 563598a9768f18257c8f5a65c77d1ddaf899414e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 31 Jul 2011 12:37:22 +0000 Subject: modules/admin-full: fix "undefined" netmask display on main status page --- modules/admin-full/luasrc/view/admin_status/index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/admin-full/luasrc/view/admin_status/index.htm b/modules/admin-full/luasrc/view/admin_status/index.htm index 16cd32a2c..aab8ead99 100644 --- a/modules/admin-full/luasrc/view/admin_status/index.htm +++ b/modules/admin-full/luasrc/view/admin_status/index.htm @@ -140,7 +140,7 @@ $Id$ '<%:Gateway%>: %s
', ifc.proto, (ifc.ipaddr) ? ifc.ipaddr : '0.0.0.0', - (ifc.netmask != ifc.ipaddr) ? ifc.netmask : '255.255.255.255', + (ifc.netmask && ifc.netmask != ifc.ipaddr) ? ifc.netmask : '255.255.255.255', (ifc.gwaddr) ? ifc.gwaddr : '0.0.0.0' ); -- cgit v1.2.3