Skip to content

Conversation

@thebub
Copy link

@thebub thebub commented Oct 16, 2024

  • Adde a config parameter to enable SSDP
  • Keep existing default behavior
  • Bump release version

Maintainer: @nbd168
Compile tested: openwrt/sdk:x86-64-openwrt-23.05 & openwrt/sdk:ramips-mt7621-23.05
Run tested: ramips/mt7621, TP-Link Archer C6 v3, OpenWrt 23.05.5 r24106-10cc5fcd00, tested with default config, disabled option & enabled option

Description:
The previous implementation of the init script always disabled SSDP. The new implementation adds a config flag bearing the option not to disable SSDP. However, the default behavior will not change and SSDP will stay disabled by default.
Especially Sonos users, who want to use SSDP forwarding, will benefit from having the choice whether to DROP or ACCEPT.

@BKPepe BKPepe force-pushed the igmpproxy-ssdp-clean branch from d5e9681 to b770968 Compare June 15, 2025 10:14
@thebub
Copy link
Author

thebub commented Jan 15, 2026

Hi, what is required to accept this pull request? As far as I can tell, all tests passed in the past and @systemcrash did already give his approval. Thanks!

@systemcrash
Copy link
Contributor

No merge commits. Just rebase on master.

@thebub thebub force-pushed the igmpproxy-ssdp-clean branch from 803dbc4 to b770968 Compare January 16, 2026 09:08
@thebub
Copy link
Author

thebub commented Jan 16, 2026

I hope I fixed it @systemcrash. Sorry for that.

@systemcrash
Copy link
Contributor

Nope - there's still a merge commit in there. Your commit branch should be based on openwrt:master.

@thebub thebub force-pushed the igmpproxy-ssdp-clean branch 2 times, most recently from b770968 to 0d8c1ca Compare January 20, 2026 09:31
@thebub
Copy link
Author

thebub commented Jan 20, 2026

@systemcrash Thanks for the feedback and your patience. I retried. Please advise.

@systemcrash
Copy link
Contributor

Looks good now.

@thebub
Copy link
Author

thebub commented Jan 20, 2026

Looks good now.

So right now, a review by a maintainer with write access to the repo is missing, right?
Will that happen automatically or do I need to request that somewhere?

@thebub thebub force-pushed the igmpproxy-ssdp-clean branch from 0d8c1ca to 6658490 Compare January 20, 2026 14:39
@systemcrash
Copy link
Contributor

@BKPepe @GeorgeSapkin

@BKPepe BKPepe requested a review from Copilot January 21, 2026 05:37
Copy link

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@thebub thebub force-pushed the igmpproxy-ssdp-clean branch from 6658490 to d9e2266 Compare January 21, 2026 07:42
@thebub thebub changed the title igmpproxy: Add config parameter to enable SSDP igmpproxy: add config parameter to enable ssdp Jan 21, 2026
@thebub
Copy link
Author

thebub commented Jan 21, 2026

@BKPepe sorry for failed run. I fixed the findings of the Copilot code review.

Copy link

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@thebub
Copy link
Author

thebub commented Jan 25, 2026

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

I can‘t see an issue in the logs. Please advise!

Copy link

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


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

config_get_bool ssdp $1 ssdp 0

if [ $ssdp -gt 0 ]; then
local ssdp_target="ACCEPT"
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

The 'local' keyword should not be used when reassigning an already declared variable. Line 67 already declares 'ssdp_target' as local, so line 82 should be 'ssdp_target="ACCEPT"' without the 'local' keyword. Using 'local' here creates a new variable in the nested scope, which means the assignment won't affect the ssdp_target variable used on line 92, and the target will always be "DROP" regardless of the config setting.

Suggested change
local ssdp_target="ACCEPT"
ssdp_target="ACCEPT"

Copilot uses AI. Check for mistakes.
Adde a config parameter to enable SSDP
Keep existing default behavior
Bump release version
Maintainer: @nbd168
Compile tested: openwrt/sdk:x86-64-openwrt-23.05 & openwrt/sdk:ramips-mt7621-23.05
Run tested: ramips/mt7621, TP-Link Archer C6 v3, OpenWrt 23.05.5 r24106-10cc5fcd00, tested with default config, disabled option & enabled option

Description:
The previous implementation of the init script always disabled SSDP. The new implementation adds a config flag bearing the option not to disable SSDP. However, the default behavior will not change and SSDP will stay disabled by default.
Especially Sonos users, who want to use SSDP forwarding, will benefit from having the choice whether to DROP or ACCEPT.

Signed-off-by: Daniel Bub <daniel.bub@thebub.net>
Signed-off-by: Daniel Bub <daniel.bub@thebub.net>
@thebub thebub force-pushed the igmpproxy-ssdp-clean branch from 455a381 to e49367e Compare January 26, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants