openwrt / openwrt/packages

udp-broadcast-relay-redux init.d/udp-broadcast-relay-redux passes no --dev parms

Open
#24,644 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: common packages maintainers
Environment: MediaTek MT7621 ver:1 eco:3 , Ubiquiti EdgeRouter X , OpenWrt 23.05.0 r23497-6637af95aa

Description:

I have 2 vlans br-lan.1 and br-lan.3 . If I put the following in /etc/config/udp_broadcast_relay_redux

config udp_broadcast_relay_redux
       option id 1
       option port 65001
       list network br-lan.1
       list network br-lan.3

and then 'service udp-broadcast-relay-redux start'

the task gets started but no '--dev' parms get passed to it . Here is what gets run

/usr/sbin/udp-broadcast-relay-redux --id 1 --port 65001

Heres what it should show

/usr/sbin/udp-broadcast-relay-redux --id 1 --port 65001 --dev br-lan.1 --dev br-lan.3

work around is to run it out of /etc/rc.local

'/usr/sbin/udp-broadcast-relay-redux -f --id 1 --port 65001 --dev br-lan.1 --dev br-lan.3'

It then works correctly

Contributor guide

Open the contributing guide

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.

Research direction

Inspect init.d/udp-broadcast-relay-redux and compare its argument construction with the /etc/config/udp_broadcast_relay_redux example. Start the service with two network entries, then verify that the launched command includes --dev br-lan.1 and --dev br-lan.3.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.