Bug 57 - mistake value "all" to "0.0.0.0" in "ip rule add"
Summary: mistake value "all" to "0.0.0.0" in "ip rule add"
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.13.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 08:53 UTC by mishima
Modified: 2009-03-03 14:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch (590 bytes, patch)
2009-03-03 14:53 UTC, Denys Vlasenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mishima 2009-01-17 08:53:06 UTC
mistaken "all" to "0.0.0.0" that use "ip rule add".
correct "all" is "0.0.0.0/0".

example:

# ip rule add from all table 1
# ip rule list
0:      from all lookup local
32765:  from 0.0.0.0 lookup 1
32766:  from all lookup main
32767:  from all lookup default

# ip rule add from 0.0.0.0/0 table 2
# ip rule list
0:      from all lookup local
32764:  from all lookup 2            ;<- set "0.0.0.0/0"
32765:  from 0.0.0.0 lookup 1        ;<- set "all"
32766:  from all lookup main
32767:  from all lookup default
Comment 1 Denys Vlasenko 2009-03-03 14:53:35 UTC
Created attachment 91 [details]
Patch

Please confirm that this patch helps
Comment 2 Denys Vlasenko 2009-03-03 14:55:51 UTC
fixed in revision 25508, thanks.