aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-21 09:58:16 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-21 09:58:16 +0000
commit027e4b35e108b1122d6012e42346aae01bdd342d (patch)
tree7e8b84fba796dfd310da38403d2f6971b98c0134
parentca20b132782310cbaacb1ebc1f002b97daaef484 (diff)
downloadupstream-027e4b35e108b1122d6012e42346aae01bdd342d.tar.gz
upstream-027e4b35e108b1122d6012e42346aae01bdd342d.tar.bz2
upstream-027e4b35e108b1122d6012e42346aae01bdd342d.zip
Default to port 1812 for radius authentication when doing 802.1x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11890 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 5f87282298..d7d18dbd50 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -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"