diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-31 12:37:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-31 12:37:22 +0000 |
commit | 563598a9768f18257c8f5a65c77d1ddaf899414e (patch) | |
tree | 486634c222ee139caaff75e922927038f5652769 /modules/admin-full | |
parent | 01cd04fc7813b515be6772cc1f59939b30d7ff07 (diff) |
modules/admin-full: fix "undefined" netmask display on main status page
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_status/index.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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$ '<strong><%:Gateway%>: </strong>%s<br />', 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' ); |