gluon/package
lemoer 70951318bc
gluon-respondd: fix missing section "wifi" for request type "neighbours" (#2599)
The below mentioned commit introduced a regression, that the "wifi"
section of the request type "neighbours" was empty:

    ~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
    {
      "wifi": [
      ],
      ...
    }

After this commit, the section (correctly) looks like this:

    root@UFU-FWH-A272-Tresckowstr-GemR-vorne:~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
    {
      "wifi": {
        "ca:38:7e:42:5f:21": {
          "neighbours": {
            "fe:9f:4d:01:ea:e1": {
              "noise": -102,
              "inactive": 50,
              "signal": -84
            },
            "fe:df:b9:84:37:51": {
              "noise": -102,
              "inactive": 20,
              "signal": -73
            }
          }
        }
      },
      ...
    }

The issue was due to the fact, that the iteration over the (mesh) wifi interfaces
was broken. The code was assuming, that the section

    config interface 'mesh_radio0'
            option proto 'gluon_mesh'

in /etc/config/network contains an option "ifname", which it does not.
The ifname property is only stored in the corresponding section in
/etc/config/wireless:

    config wifi-iface 'mesh_radio0'
            option ifname 'mesh0'
            option network 'mesh_radio0'
            option mode 'mesh'
            ...

Therefore, we now iterate over wifi-ifaces in /etc/config/wireless, that
have the mode 'mesh' instead. This resolves the issue.

Fixes 0f1fa243f7
2022-08-09 22:24:44 +02:00
..
gluon-alfred Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-authorized-keys Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-autoupdater gluon-autoupdater: check that good_signatures does not exceed number of provided pubkeys 2022-05-27 12:12:26 +02:00
gluon-client-bridge gluon-client-bridge: simplify OWE-TM configuration (#2550) 2022-06-19 17:06:02 +02:00
gluon-config-mode-autoupdater Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-contact-info Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-core Merge pull request #2399 from MyIgel/remove-xhtml 2022-02-22 21:46:29 +01:00
gluon-config-mode-domain-select Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-geo-location Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-geo-location-osm Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-hostname Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-mesh-vpn Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-config-mode-outdoor treewide: use radio band option to determine frequency band 2021-12-19 16:43:12 +01:00
gluon-config-mode-theme treewide: Replace /> self closing html tags with > 2022-02-22 18:48:09 +01:00
gluon-core ath79-generic: (re)add support for UniFi AC Mesh Pro (#2462) 2022-07-10 23:10:07 +02:00
gluon-ebtables Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-ebtables-filter-multicast Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-ebtables-filter-ra-dhcp gluon-ebtables-filter-ra-dhcp: disable DHCPv4 filter when gw_mode == 'server' (#2324) 2021-12-16 20:01:57 +01:00
gluon-ebtables-limit-arp gluon-ebtables-limit-arp: declare clock as extern (#2343) 2021-12-20 17:37:51 +01:00
gluon-ebtables-source-filter Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-hoodselector Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-iptables-clamp-mss-to-pmtu treewide: rename ip6tables-legacy 2022-07-07 19:06:14 +02:00
gluon-l3roamd gluon-l3roamd: add firewall rules 2022-07-07 13:52:25 +02:00
gluon-lock-password Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-logging Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-mesh-babel gluon-mesh-layer3-common: add radvd from babel 2022-07-07 13:54:05 +02:00
gluon-mesh-batman-adv gluon-mesh-batman-adv: add "gateway_tq" field to respondd statistics (#2596) 2022-08-09 21:09:28 +02:00
gluon-mesh-layer3-common gluon-mesh-layer3-common: add node_prefix6 to check_site 2022-07-07 13:54:08 +02:00
gluon-mesh-vpn-core treewide: rename ip6tables-legacy 2022-07-07 19:06:14 +02:00
gluon-mesh-vpn-fastd gluon-mesh-vpn-fastd: fix respondd segfault under load (#2594) 2022-08-09 20:09:31 +02:00
gluon-mesh-vpn-fastd-l2tp treewide: remove leftover GLUON_SPECIALIZE_KERNEL dependencies (#2514) 2022-05-08 12:14:03 +02:00
gluon-mesh-vpn-tunneldigger gluon-mesh-vpn-*: make vpn MTU provider specific 2022-05-21 18:12:49 +02:00
gluon-mesh-vpn-wireguard gluon-mesh-vpn-*: make vpn MTU provider specific 2022-05-21 18:12:49 +02:00
gluon-mesh-wireless-sae treewide: switch crypto lib to WolfSSL (#2509) 2022-05-07 15:17:03 +02:00
gluon-mmfd gluon-mmfd: add firewall rules 2022-07-07 13:52:25 +02:00
gluon-neighbour-info gluon-neighbour-info: avoid recv() with NULL buffer (#2323) 2021-10-16 14:01:34 +02:00
gluon-node-info gluon-node-info: remove obsolete migration/fixup 2022-01-23 14:44:06 +01:00
gluon-private-wifi Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-radv-filterd Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-radvd gluon-radvd: remove obsolete migration 2022-01-23 14:44:06 +01:00
gluon-respondd gluon-respondd: fix missing section "wifi" for request type "neighbours" (#2599) 2022-08-09 22:24:44 +02:00
gluon-scheduled-domain-switch Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-setup-mode gluon-setup-mode: add fallback led-boot as status 2022-07-10 23:22:11 +02:00
gluon-site Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-state-check Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-status-page gluon-status-page: fix mesh-vpn section for wg (#2502) 2022-05-21 20:27:14 +02:00
gluon-status-page-mesh-batman-adv Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-wan-dnsmasq Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-web treewide: Replace xhtml content type with html, remove xhtml workaround 2022-02-20 12:45:43 +01:00
gluon-web-admin web-admin: ignore minor compat-version on upgrade (#2590) 2022-08-09 20:16:33 +02:00
gluon-web-autoupdater Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-web-logging Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-web-mesh-vpn-fastd Merge pull request #2186 from freifunk-gluon/fastd-l2tp 2022-02-23 19:03:19 +01:00
gluon-web-model treewide: Replace /> self closing html tags with > 2022-02-22 18:48:09 +01:00
gluon-web-network gluon-web-network: update wired mesh settings for new role-based configuration 2022-02-22 18:52:15 +01:00
gluon-web-node-role Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00
gluon-web-osm treewide: Replace xhtml content type with html, remove xhtml workaround 2022-02-20 12:45:43 +01:00
gluon-web-private-wifi Merge pull request #2312 from freifunk-gluon/gluon-web-wifi-cleanup 2021-12-16 20:03:27 +01:00
gluon-web-wifi-config treewide: Replace /> self closing html tags with > 2022-02-22 18:48:09 +01:00
gluon-wireless-encryption treewide: switch crypto lib to WolfSSL (#2509) 2022-05-07 15:17:03 +02:00
libbatadv treewide: remove redundant definitions from package Makefiles 2018-03-07 21:23:41 +01:00
libgluonutil libgluonutil: free getline 2021-05-08 20:35:24 +02:00
features gluon-mesh-vpn-fastd: add L2TP offload support 2022-02-08 21:09:15 +01:00
gluon.mk gluon.mk: print source file name in GluonSrcDiet (#2424) 2022-03-24 06:48:10 +01:00