[OpenWrt-Devel] Patch to fix broken DHCP renewals with metric for AA

Felix Fietkau nbd at openwrt.org
Fri May 8 08:06:02 EDT 2015

On 2015-03-13 18:51, Joseph Marlin wrote:
> Below is a patch to fix a bug I ran into on Attitude Adjustment. 
> When a DHCP interface with a metric assigned to it attempted to renew its lease, the default route was removed and not re-added. However, removing the metric from the interface would result in the default route correctly being re-added after a lease.
> I found that the metric was not being passed to the netifd-proto function "proto_add_ipv4_route" that creates the string that "_proto_push_route" uses to create the JSON sent to ubus. 
Is this issue still present in BB/CC?

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list