Skip to content

RDKB-63676 : WanManager: Voice interface incorrectly adds default route, conflicting with Data interface configuration#190

Merged
guto86 merged 5 commits intomainfrom
bugfix/voice-virtual-Iface-conflict
Feb 27, 2026
Merged

RDKB-63676 : WanManager: Voice interface incorrectly adds default route, conflicting with Data interface configuration#190
guto86 merged 5 commits intomainfrom
bugfix/voice-virtual-Iface-conflict

Conversation

@S-Parthiban-Selvaraj
Copy link
Contributor

@S-Parthiban-Selvaraj S-Parthiban-Selvaraj commented Feb 24, 2026

Pull request overview
This PR fixes a bug related to voice virtual interface conflicts by extending support beyond VOIP interfaces to also include VOICE and MTA interfaces. The core change introduces a new helper function WanMgr_IsVoiceInterface() to centralize the identification of voice-related interfaces and applies special handling for these interfaces throughout the WAN state machine.

Changes:

Introduced WanMgr_IsVoiceInterface() static inline helper function to identify voice interfaces (VOIP, VOICE, MTA)
Voice interfaces now skip system-level IPv4/IPv6 configuration (DNS, firewall, sysevents) and only perform address management
Removed platform-specific DT_WAN_Manager_Enable conditional code blocks and replaced with unified voice interface handling
Added .gitignore file with standard autotools-generated files and build artifacts

Copilot AI review requested due to automatic review settings February 24, 2026 14:47
@S-Parthiban-Selvaraj S-Parthiban-Selvaraj requested a review from a team as a code owner February 24, 2026 14:47
@S-Parthiban-Selvaraj S-Parthiban-Selvaraj changed the title Bugfix/voice virtual iface conflict RDKB-63676 : WanManager: Voice interface incorrectly adds default route, conflicting with Data interface configuration Feb 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug related to voice virtual interface conflicts by extending support beyond VOIP interfaces to also include VOICE and MTA interfaces. The core change introduces a new helper function WanMgr_IsVoiceInterface() to centralize the identification of voice-related interfaces and applies special handling for these interfaces throughout the WAN state machine.

Changes:

  • Introduced WanMgr_IsVoiceInterface() static inline helper function to identify voice interfaces (VOIP, VOICE, MTA)
  • Voice interfaces now skip system-level IPv4/IPv6 configuration (DNS, firewall, sysevents) and only perform address management
  • Removed platform-specific DT_WAN_Manager_Enable conditional code blocks and replaced with unified voice interface handling
  • Added .gitignore file with standard autotools-generated files and build artifacts

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
source/WanManager/wanmgr_interface_sm.h Added static inline WanMgr_IsVoiceInterface() helper function to check if interface is VOIP, VOICE, or MTA
source/WanManager/wanmgr_interface_sm.c Updated voice interface handling logic throughout state transitions - early returns in IPv4/IPv6 up/down transitions for voice interfaces, skipping system configuration in setup/teardown functions, and updated updateInterfaceToVoiceManager() to use new helper
source/WanManager/wanmgr_dhcpv6_apis.c Added early return in setUpLanPrefixIPv6() to skip LAN prefix configuration for voice interfaces
source/TR-181/middle_layer_src/wanmgr_rdkbus_apis.c Added include for wanmgr_interface_sm.h and skip WAN status updates for voice interfaces in Update_Interface_Status()
.gitignore Added standard autotools-generated files and build artifacts to ignore list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@guto86 guto86 merged commit 314eccf into main Feb 27, 2026
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants