Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#550 closed defect (fixed)

RC5: /etc/init.d/S50dnsmasq sets incorrect dhcp IP address range

Reported by: ojunk@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: packages Version:
Keywords: Cc:


In order to calculate the range of IP addresses to offer /etc/init.d/S50dnsmasq calls

eval $(ipcalc $ipaddr $netmask $start $num)

, however $num is set to num=$((start+${num:-150})) rather than the actual number of addresses, which /bin/ipcalc expects. Although technically this is not necessarily a bug in S50dnsmasq as much as it is an incosistency between S50dnsmasq and ipcalc; however, I am assuming the intent is to pass the number of addresses to ipcalc since this is also more consistent with the dhcp_num nvram variable.

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by mbm

  • Resolution set to fixed
  • Status changed from new to closed

dupe #542, #477

comment:2 Changed 12 years ago by mbm

  • Milestone set to 1.0-rc6

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.