platform_system_core/toolbox
Daniel Baeyens e898faddb3 Fix "route add default dev <iface>" behaviour
Previous behaviour was to set route's network mask as 255.255.255.255
Setting a destination network with netmask /32 blocks the connections
just to the specified host. 0.0.0.0/32 defines the exact IPv4 address
0.0.0.0 and not the whole IPv4 hosts range.
This patch allows traffic to any network, setting a 0.0.0.0/0 route.

Change-Id: I1665f2fac52526337bb2c48e3b09564d9da448e7
2010-04-21 01:51:18 +02:00
..
alarm.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
Android.mk toolbox: add "uptime" command 2010-04-09 15:30:06 -04:00
cat.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
chmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
chown.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cmp.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
date.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dd.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dd.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
df.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dmesg.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
exists.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
getevent.c Improvements to get events: -p, better output. 2009-04-08 15:43:31 -07:00
getprop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
hd.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
id.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ifconfig.c toolbox: ifconfig: Implement mtu setting, plus setting interface addr should 2009-05-14 07:28:52 -07:00
iftop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
insmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ioctl.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
kill.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ln.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
log.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ls.c Added -s flag to ls. 2009-08-18 11:10:03 -07:00
lsmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mkdir.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mount.c am 383688b5: toolbox: Fix uninitalized stack variable in mount. 2009-07-01 11:18:15 -07:00
mv.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
netstat.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
newfs_msdos.c toolbox: mkdosfs: Imported new 'newfs_msdos' updated disk formatter 2009-07-06 11:10:03 -07:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
notify.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
powerd.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
printenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ps.c toolbox: Add scheduling policy display to top/ps 2009-10-27 12:27:47 -07:00
r.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
readtty.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
reboot.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
renice.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rm.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rmdir.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rmmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rotatefb.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
route.c Fix "route add default dev <iface>" behaviour 2010-04-21 01:51:18 +02:00
schedtop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sendevent.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
setconsole.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
setkey.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
setprop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sleep.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
smd.c Automated import from //branches/master/...@142981,142981 2009-03-26 14:14:15 -07:00
start.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
stop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sync.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
syren.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
toolbox.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
top.c toolbox: Add scheduling policy display to top/ps 2009-10-27 12:27:47 -07:00
umount.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
uptime.c toolbox: add "uptime" command 2010-04-09 15:30:06 -04:00
vmstat.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
watchprops.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
wipe.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00