Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8655 closed defect (fixed)

[PATCH] cidr satic routes broken

Reported by: dmitry+openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: patch, static routes, staticroutes, cidrroutes, cidrroute, dhcp, routes Cc:


Two things happened to break this:

1.) The variable $cidrroute was changed to $staticroutes which broke the /usr/share/udhcpc/default.script. So first part of the fix was to update default.script to reflect that new variable name.
2.) Somewhere (upstream busybox?) the format of $staticroutes changed, so the script now works with the new format. The script is now far less complex, as it no longer has to guess the netmask.

Tested on backfire. See attached diff.

Attachments (1)

staticroutes.diff (3.3 KB) - added by dmitry+openwrt@… 7 years ago.
patch for udhcpc/default.script

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by dmitry+openwrt@…

patch for udhcpc/default.script

comment:1 Changed 7 years ago by jow

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

Fixed in r24778 and r25996.

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

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.