os-frr: BGP neighbor "update-source" is ignored for IPv6 neighbors

Open Beginner friendly
#5,918 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
networking

Research direction

Start in the os-frr plugin’s BGP neighbor configuration generation and compare how IPv4 and IPv6 neighbors handle the saved Update-Source Interface setting. Reproduce the issue by adding an IPv6 neighbor with that setting and checking the running configuration. Done when the generated configuration includes the neighbor’s update-source line for IPv6 as it does for IPv4.

Written by the indexing model from the issue text.

Description

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
When the "Update-Source Interface" is set on a IPv6 BGP neighbor, the option never reaches the generated FRR configuration. There is no error or warning, the setting is saved in the GUI but the neighbor

update-source line is missing from the config. For IPv4 neighbors the same setting works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Routing -> BGP -> Neighbors
  2. Add a neighbor with a IPv6 address, set "Update-Source Interface" to Loopback
  3. Check the generated config under Routing -> Diagnostics -> General -> Running configuration
  4. The expected update-source line is missing

Expected behavior
update-source is rendered for IPv6 neighbors in the same way as for IPv4 neighbors:

Screenshots
If applicable, add screenshots to help explain your problem.

Relevant log files
If applicable, information from log files supporting your claim.

Additional context
Add any other context about the problem here.

Environment
OPNsense 26.7.9
I could also reproduce the issue on OPNsense 26.1.11

Dominant language
PHP
Stars
1.2k
Forks
926
Avg merge
1d 10h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opnsense/plugins

All issues in opnsense/plugins

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.