Bug 57

Summary: mistake value "all" to "0.0.0.0" in "ip rule add"
Product: Busybox Reporter: mishima <s.mishima>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.13.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: Patch

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.