diff --git a/source/Styles/xb3/jst/includes/utility.jst b/source/Styles/xb3/jst/includes/utility.jst
index 4940913..07d5b81 100644
--- a/source/Styles/xb3/jst/includes/utility.jst
+++ b/source/Styles/xb3/jst/includes/utility.jst
@@ -1335,6 +1335,20 @@ function is_docsis_supported()
}
}
+/**
+* Description:
+* return the device supports EPON or not
+*/
+function is_PON_Supported()
+{
+ $epon_status = getenv("PON_SUPPORTED");
+ if($epon_status === "false") {
+ return false;
+ } else {
+ return true;
+ }
+}
+
/**
* Description:
* return the device supports Bridge Mode or not
diff --git a/source/Styles/xb6/jst/network_setup.jst b/source/Styles/xb6/jst/network_setup.jst
index a7d1765..884ccee 100644
--- a/source/Styles/xb6/jst/network_setup.jst
+++ b/source/Styles/xb6/jst/network_setup.jst
@@ -444,9 +444,13 @@ function sec2dhm($sec)
% if(is_docsis_supported()) { ?>
CM MAC:
% echo( strtoupper($CM_value["MACAddress"]));?>
- % } else { ?>
- ETHWAN MAC:
- % echo( strtoupper(getStr("Device.DeviceInfo.X_COMCAST-COM_CM_MAC")));?>
+ % } else { ?>
+ % if (is_PON_Supported()) { ?>
+ Device MAC:
+ % } else { ?>
+ ETHWAN MAC:
+ % } ?>
+ % echo(strtoupper(getStr("Device.DeviceInfo.X_COMCAST-COM_CM_MAC"))); ?>
% } ?>
% if(is_wps_supported()) { ?>