Default to port 1812 for radius authentication when doing 802.1x
authorFlorian Fainelli <florian@openwrt.org>
Mon, 21 Jul 2008 09:58:16 +0000 (09:58 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 21 Jul 2008 09:58:16 +0000 (09:58 +0000)
SVN-Revision: 11890

package/broadcom-wl/files/lib/wifi/broadcom.sh

index 5f87282..d7d18db 100644 (file)
@@ -202,7 +202,7 @@ enable_broadcom() {
                                        *) auth=2; wsec=2;;
                                esac
                                eval "${vif}_key=\"\$key\""
-                               nasopts="-r \"\$${vif}_key\" -h $server -p $port"
+                               nasopts="-r \"\$${vif}_key\" -h $server -p ${port:-1812}"
                        ;;
                esac
                append vif_do_up "wsec $wsec" "$N"