negative number on routes metric > 2147483647

Bug #2023681 reported by Benjamin Gentil
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Configuring a routes metric higher than 2147483647 results in a negative metric value, which breaks the generated configuration.

This is due to the usage of %d instead of %u, the metric value is treated as signed integer instead of unsigned integer

Revision history for this message
Benjamin Gentil (bengentil) wrote :
Revision history for this message
Danilo Egea Gondolfo (danilogondolfo) wrote :

Thanks a lot, Benjamin. Please, check my comments in your PR.

Changed in netplan:
status: New → In Progress
importance: Undecided → Medium
Lukas Märdian (slyon)
Changed in netplan:
status: In Progress → Fix Committed
Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in netplan:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.