Author: nbd Date: 2015-11-02 19:12:54 +0100 (Mon, 02 Nov 2015) New Revision: 47361
Modified: trunk/package/network/services/hostapd/files/netifd.sh Log: hostapd: add default value to eapol_version (#20641) r46861 introduced a new option eapol_version to hostapd, but did not provide a default value. When the option value is evaluated, the non-existing value causes errors to the systen log: "netifd: radio0: sh: out of range" Add a no-op default value 0 for eapol_version. Only values 1 or 2 are actually passed on, so 0 will not change the default action in hostapd. Signed-off-by: Hannu Nyman <[email protected]> Modified: trunk/package/network/services/hostapd/files/netifd.sh =================================================================== --- trunk/package/network/services/hostapd/files/netifd.sh 2015-11-02 18:12:45 UTC (rev 47360) +++ trunk/package/network/services/hostapd/files/netifd.sh 2015-11-02 18:12:54 UTC (rev 47361) @@ -194,6 +194,7 @@ set_default hidden 0 set_default wmm 1 set_default uapsd 1 + set_default eapol_version 0 append bss_conf "ctrl_interface=/var/run/hostapd" if [ "$isolate" -gt 0 ]; then _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
