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 5f872822984c6d327b16c73dc7459ab8e1786e38..d7d18dbd5003b7f6d2d9fc5e5e208ce554193d94 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"