diff options
author | Alex Dowad <alexinbeijing@gmail.com> | 2015-08-07 11:53:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-08-24 20:18:36 +0200 |
commit | 65c501a093b6ae1f8344a71378fd99f27177adaf (patch) | |
tree | 81241147dd4613d7411632766302593e6240f4c1 /miscutils/Kbuild.src | |
parent | c52cbea2bba6582b44facb424a15dc544b54fb28 (diff) | |
download | busybox-65c501a093b6ae1f8344a71378fd99f27177adaf.tar.gz |
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>
Diffstat (limited to 'miscutils/Kbuild.src')
0 files changed, 0 insertions, 0 deletions