Modify

Opened 5 years ago

Last modified 4 years ago

#13491 new defect

dhcp.*.options broken in Attitude Adjustment

Reported by: luke-jr+openwrtbugs@… Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: base system Version: Attitude Adjustment 12.09
Keywords: Cc:

Description

The new dnsmasq init script is writing a config file instead of building a commandline, but just appends the 'options' parameter to the dhcp-range line as if it were a commandline.

For example:

dhcp-range=lan,192.168.76.100,192.168.76.249,255.255.255.0,5m -7 /etc/dnsmasq.local.conf.d

dnsmasq doesn't recognize this as valid, and since the dnsmasq init script prevents me from putting a second dhcp-range on an interface outside of its main IP, this is a blocker for me.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by luke-jr+openwrtbugs@…

Editing the init script for this mostly works (only for a single double-dash option):

xappend "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime"
xappend "${options}"

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.