Bug 65473
Summary: | inconsistent numeric base on command line options | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mike McLean <mikem> | ||||
Component: | iproute | Assignee: | Phil Knirsch <pknirsch> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | CC: | rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-05-25 03:02:15 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mike McLean
2002-05-25 02:48:22 UTC
Created attachment 58485 [details]
a 2 line patch to fix this problem
This patch has two effects: 1) fwmark numbers are clearly indicated as being in hex when printed. 2) fwmark numbers entered on the command line assumed to be decimal unless indicated otherwise (strtoul is passed base 0 rather than base 16). This matches the behavior of the priority option. While (2) could make break script compatibility, I doubt that many are using fwmark routing in scripts, and if they aren't prepending 0x then shame on them. I'm certain that this change will prevent many more headaches than it causes. In fact, a group of us lost nearly 2 hours of work this afternoon to this bug. Included patch in latest version. I agree that this inconsistency causes more frustration than worth keeping. Read ya, Phil |