busybox/examples
Stefan Agner 62744efa47 examples/udhcp/simple.script: fix IPv6 support when using udhcpc
The udhcpc script calls ip addr flush .. which flushes addresses
of any address family, including IPv6. However, busybox udhcpc is
IPv4 only and should not influence IPv6 addressing. Hence use ip
addr flush with family constraint.

The script particularly broke IPv6 SLAAC: Typically when udhcpc
calls the script the kernel already assigned the IPv6 link-local
address. The flush removes the link-local IPv6 address again and
prohibits proper IPv6 operation such as SLAAC since neighbor
discovery protocol relies on IPv6 link-local addressing.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
[Taken from https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/busybox/files/simple.script?id=b77541dbb2f442e51842f9d24c8745a6df2d1478]
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-06-21 03:02:02 +02:00
..
bootfloppy *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
shutdown-1.0 typo fix in comment 2019-05-16 14:31:58 +02:00
udhcp examples/udhcp/simple.script: fix IPv6 support when using udhcpc 2020-06-21 03:02:02 +02:00
var_service examples/var_service: use "exec sleep 5" instead of "{ sleep 5; exit; }" 2019-04-21 14:30:19 +02:00
android-build build system: make CONFIG_EXTRA_LDFLAGS go to LDFLAGS, not EXTRA_LDFLAGS 2015-04-14 14:15:15 +02:00
busybox.spec
depmod remove "local" bashism from a few scripts 2017-01-24 20:52:42 +01:00
depmod.pl depmod.pl: output correct dep format according to kernel version 2011-09-09 18:58:08 +02:00
devfsd.conf nameif: extended matching (Nico Erfurth <masta@perlgolf.de>) 2007-12-24 14:09:19 +00:00
dnsd.conf new applet. Thanks Roberto A. Foglietta 2006-01-25 14:19:11 +00:00
inetd.conf
inittab Updated inittab example documentation 2019-11-17 17:48:53 +01:00
linux-2.6.30_proc_self_exe.patch
mdev_fat.conf examples/mdev_fat.conf: document that newer mdev exposes path 2015-02-07 18:14:39 +01:00
mdev.conf mdev.conf: rename hw_random to hwrng 2016-12-09 16:12:15 -05:00
mdev.conf.change_blockdev.sh fix more instances of ": $((a++))" in shell scripts 2017-07-15 19:20:45 +02:00
mk2knr.pl
undeb undeb: clean up 2016-04-04 01:35:34 -04:00
unrpm unrpm: clean up 2016-04-04 01:39:17 -04:00
zcip.script zcip.script: fix $ip environment variable 2011-08-09 04:41:00 +02:00