hush/networking
Alex Dowad 65c501a093 ifupdown: 'prio' should have been 'metric' in static_up and static_up6
When a static interface with explicit gateway and metric in /etc/network/interfaces
is enabled using 'ifup', and further, the BusyBox 'ip' applet is enabled, the
following error message appears at the console (and no default route is added):

ip: either "to" is duplicate, or "prio" is garbage

Tracing ifup reveals that it is attempting to run the following shell command:

ip route add default via <GW> dev <DEVICE> prio <METRIC>

'ip' does not understand the 'prio' argument, causing this error. With 'metric',
it works fine.

Signed-off-by: Alex Dowad <alexinbeijing@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-08-24 20:18:36 +02:00
..
2015-08-24 20:00:17 +02:00
2015-07-13 03:25:46 +02:00
2015-08-24 20:00:17 +02:00
2013-01-14 15:57:44 +01:00
2015-08-24 20:00:17 +02:00
2012-03-19 12:22:57 +01:00
2013-01-14 01:34:48 +01:00
2015-08-24 20:00:17 +02:00
2014-02-10 09:51:03 +01:00
2015-08-15 21:15:27 +02:00
2014-01-09 20:09:43 +01:00
2010-11-28 23:01:18 +01:00
2015-08-24 20:00:17 +02:00
2015-08-24 20:00:17 +02:00
2015-05-25 13:46:36 +02:00
2015-08-24 20:00:17 +02:00
2015-08-24 20:00:17 +02:00
2015-05-24 18:01:53 +02:00
2011-07-25 16:35:44 +02:00
2015-08-24 20:00:17 +02:00
2015-08-24 20:00:17 +02:00
2015-07-13 03:25:46 +02:00
2015-08-24 20:00:17 +02:00
2015-07-13 03:25:46 +02:00