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
..
libiproute ipaddress: better formatting, no code changes 2015-07-01 18:36:06 +02:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
udhcp libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
arp.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
arping.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
brctl.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
Config.src telnetd: we only need CONFIG_UNIX98_PTYS from the Linux kernel 2015-01-30 17:12:38 +01:00
dnsd.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
ether-wake.c ether-wake: shorten help text, reduce packet buffer size 2013-10-14 19:04:20 +02:00
ftpd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
ftpgetput.c ftp{get,put}: tweak help text 2012-03-19 12:22:57 +01:00
hostname.c hostname: do not use gethostbyname() for "hostname -s" 2013-12-17 19:13:45 +01:00
httpd_indexcgi.c httpd_indexcgi.c: fix compile failure 2012-09-03 12:20:10 +02:00
httpd_post_upload.txt
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
ifconfig.c fix build error with musl libc due to if_slip.h 2013-08-15 09:54:51 +02:00
ifenslave.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
ifplugd.c ifplugd: code shrink 2014-02-10 09:51:03 +01:00
ifupdown.c ifupdown: 'prio' should have been 'metric' in static_up and static_up6 2015-08-24 20:18:36 +02:00
inetd.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
interface.c ifconfig: fix double free fatal error in INET_sprint 2015-02-03 12:11:30 +01:00
ip.c ip addr: support change and replace commands 2015-07-01 18:26:41 +02:00
ipcalc.c ipcalc: fix trivial usage message 2015-08-15 21:15:27 +02:00
isrv_identd.c fakeidentd: simplify ndelay manipulations 2014-01-10 17:12:54 +01:00
isrv.c
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src
nameif.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
nbd-client.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
nc_bloaty.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
nc.c nc: use symbolic SHUT_WR instead of literal 1 2013-07-28 21:08:37 +02:00
netstat.c typo fixes 2015-05-25 13:46:36 +02:00
nslookup.c nslookup: set default DNS server again. Hopefully helps with 675 2013-06-27 01:09:51 +02:00
ntpd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
ping.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
pscan.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
route.c route: fix bogus read error when route table is empty 2015-02-04 10:40:10 +01:00
slattach.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
tc.c tc: fix print_rate 2015-05-24 18:01:53 +02:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c tcpudp: simplify help text 2011-07-25 16:35:44 +02:00
telnet.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
telnetd.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
telnetd.ctrlSQ.patch
tftp.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
traceroute.c libbb: add setsockopt_foo helpers 2015-08-24 20:00:17 +02:00
tunctl.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
vconfig.c vconfig: fix help text; small code shrink. Closes 4658 2012-01-16 04:00:37 +01:00
wget.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
whois.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
zcip.c zcip: tweak comments and make unsigned division more obvious 2015-08-04 15:06:38 +02:00