You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jo-Philipp Wich 6426e4edef base-files: network.sh: fix a number of IPv6 logic flaws
* Change network_get_subnet6() to sensibly guess a suitable prefix

  Attempt to return the first non-linklocal, non-ula range, then attempt
  to return the first non-linklocal range and finally fall back to the
  previous behaviour of simply returning the first found item.

* Fix network_get_ipaddrs_all()

  Instead of replicating the flawed logic appending a fixed ":1" suffix
  to IPv6 addresses, rely on network_get_ipaddrs() and network_get_ipaddrs6()
  to build a single list of all interface addresses.

* Fix network_get_subnets6()

  Instead of replicating the flawed logic appending a fixed ":1" suffix
  to IPv6 addresses, rely on the ipv6-prefix-assignment.local-address
  field to figure out the proper network address.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years ago
..
leds.sh kernel: remove unused morse led trigger driver 8 years ago
network.sh base-files: network.sh: fix a number of IPv6 logic flaws 7 years ago
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 9 years ago
service.sh base-files: remove function service_kill 10 years ago
system.sh base-files: cleanup mtd_get_mac_binary hexdump 9 years ago
uci-defaults.sh base-files: add led functions to uci-defaults.sh 7 years ago