firmware/src/packages/fff
Fabian Bläse baca28ece3 fff-web-ui: fix port selection for TWO_PORT devices
Support for devices with two ports was originally intended for built-in
swconfig switches with only two externally exposed ethernet ports.

With the switch from ath71xx to ath79, the only device which ever made
use of this uncommon configuration (CPE210-v1) now has to dedicated
interfaces exposed to Linux. Therefore, two-port support was modified to
support two distinct interfaces instead of swconfig switch
configuration, which also simplified support for a few other devices.

However, the Web UI has not been taken into account. Due to the way the
Web UI detected a two-port device, the already implemented port selector
is not shown.

Use the TWO_PORT variable introduced with the change mentioned above to
detect two-port devices instead.

Fixes: #257
Fixes: c22032e254 ("fff-network: support native two-port devices")

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2022-07-22 12:48:52 +02:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-alfred treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-alfred-monitoring-proxy treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-babel fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-babel-bird2 fff-babel-bird2: fix filter for router ip imports 2022-07-22 12:48:52 +02:00
fff-babeld fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-base Simplify firmware variant selection 2022-03-31 19:17:01 +02:00
fff-batman-adv treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-boardname Add support for x86_64 2022-03-11 12:34:59 +01:00
fff-config fff-config: Set panic on OOM 2022-03-05 18:19:13 +01:00
fff-dhcp fff-dhcp: increase dns cachesize 2022-03-05 19:31:00 +01:00
fff-fastd fff-fastd: fix fastd start/stop 2022-03-23 19:47:38 +01:00
fff-firewall treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoods treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoodutils treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3 fff-layer3: Add latency to nodewatcher 2022-03-23 19:47:05 +01:00
fff-layer3-config fff-layer3-config: show uci syntax errors 2022-04-05 21:25:33 +02:00
fff-layer3-snat treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-macnock Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-mqtt fff-mqtt: Switch from mosquitto-ssl to mosquitto-nossl 2022-03-31 19:31:25 +02:00
fff-mqtt-monitoring treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-network fff-network: Do not configure switch for ONE and TWO_PORT devices 2022-03-31 19:31:25 +02:00
fff-node treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-nodewatcher nodewatcher: fix errormessage. 2022-04-13 19:21:25 +02:00
fff-ra fff-ra: set preferred lifetime smaller than valid lifetime 2022-04-13 19:22:27 +02:00
fff-random treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-simple-tc treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-support treewide: remove ETHPORT leftovers 2022-03-31 19:31:25 +02:00
fff-sysupgrade treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-timeserver treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-uradvd fff-uradvd: Add reload trigger for network 2022-03-05 18:17:25 +01:00
fff-vpn-select fff-vpn-select: do not configure peers on vpn-stop 2022-03-23 19:47:22 +01:00
fff-vxlan-node-vpn fff-vxlan-node: disable vxlan by default 2022-03-31 19:31:25 +02:00
fff-web-hood treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-ui fff-web-ui: fix port selection for TWO_PORT devices 2022-07-22 12:48:52 +02:00
fff-wireguard Add support for different babel implementations 2022-03-23 19:46:30 +01:00
fff-wireless OpenWrt: bump to v21.02.2 2022-03-05 18:09:49 +01:00