Modify

Opened 12 years ago

Closed 12 years ago

#542 closed defect (fixed)

RC5/S50dnsmasq does not respect dhcp_num correctly

Reported by: anonymous Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: base system Version:
Keywords: Cc: treffer@…

Description

The lines

num=$(nvram get dhcp_num)

num=$((start+${num:-150}))

shuld be

num=$(nvram get dhcp_num)

because

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

requires the raw dhcp_num value as $num. Found it yesterday because the router was not able to assign only 7 ip's with dhcp (local subnet with 8 ip's, ip 1 for the router, 7 ip's for the remaining clients).

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by mbm

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

dupe #447

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.