Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [2.3.0](https://github.com/rdkcentral/webui/compare/2.2.2...2.3.0)

- RDKB-63168: WAN Default Gateway Address (IPv4) is blank [`#111`](https://github.com/rdkcentral/webui/pull/111)
- Merge tag '2.2.2' into develop [`ee36fc7`](https://github.com/rdkcentral/webui/commit/ee36fc74ccb450aeb1cf42fd0daa21734a0a25b4)

#### [2.2.2](https://github.com/rdkcentral/webui/compare/2.2.1...2.2.2)

> 23 March 2026

- RDKB-63902 : Unable to access MSO login page [`#108`](https://github.com/rdkcentral/webui/pull/108)
- Add changelog for release 2.2.2 [`e64ab63`](https://github.com/rdkcentral/webui/commit/e64ab63e882f7bbe24194f4c08f87192824e3e72)
- Merge tag '2.2.1' into develop [`0f3a41f`](https://github.com/rdkcentral/webui/commit/0f3a41f3c74d10ec78eae9b83ef1326f3ed5cf0a)

#### [2.2.1](https://github.com/rdkcentral/webui/compare/2.2.0...2.2.1)
Expand Down
24 changes: 15 additions & 9 deletions source/Styles/xb3/jst/includes/utility.jst
Original file line number Diff line number Diff line change
Expand Up @@ -1262,18 +1262,24 @@ function current_operationalMode()
*/
function get_dhcp_client_interfaces()
{
$dhcpmgr_enabled = file_exists("/tmp/dhcpmgr_initialized");
var $dhcp_client_interfaces = { v4: "", v6: "" };
$ids = explode(",", getInstanceIds("Device.X_RDK_WanManager.Interface."));
wanInterfaceLoop: for($key in $ids) { $j = $ids[$key];
$status = getStr("Device.X_RDK_WanManager.Interface."+$j+".Status");
if($status == "true" || $status == "Up" || $status == "Active"){
$dhcp_client_interfaces.v4 = getStr("Device.X_RDK_WanManager.Interface."+$j+".VirtualInterface.1.IP.DHCPv4Interface");
$dhcp_client_interfaces.v6 = getStr("Device.X_RDK_WanManager.Interface."+$j+".VirtualInterface.1.IP.DHCPv6Interface");
break wanInterfaceLoop;
if($dhcpmgr_enabled) {
$ids = explode(",", getInstanceIds("Device.X_RDK_WanManager.Interface."));
wanInterfaceLoop: for($key in $ids) { $j = $ids[$key];
$status = getStr("Device.X_RDK_WanManager.Interface."+$j+".Status");
if($status == "true" || $status == "Up" || $status == "Active"){
$dhcp_client_interfaces.v4 = getStr("Device.X_RDK_WanManager.Interface."+$j+".VirtualInterface.1.IP.DHCPv4Interface");
$dhcp_client_interfaces.v6 = getStr("Device.X_RDK_WanManager.Interface."+$j+".VirtualInterface.1.IP.DHCPv6Interface");
break wanInterfaceLoop;
}
}
if($dhcp_client_interfaces.v4 == "") $dhcp_client_interfaces.v4 = "Device.DHCPv4.Client.1";
if($dhcp_client_interfaces.v6 == "") $dhcp_client_interfaces.v6 = "Device.DHCPv6.Client.1";
} else {
$dhcp_client_interfaces.v4 = "Device.DHCPv4.Client.1";
$dhcp_client_interfaces.v6 = "Device.DHCPv6.Client.1";
}
if($dhcp_client_interfaces.v4 == "") $dhcp_client_interfaces.v4 = "Device.DHCPv4.Client.1";
if($dhcp_client_interfaces.v6 == "") $dhcp_client_interfaces.v6 = "Device.DHCPv6.Client.1";
return $dhcp_client_interfaces;
}

Expand Down
Loading