summaryrefslogtreecommitdiff
path: root/package
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
commit7f3193a673d71bb9ccbcdc81a0de7226832820e5 (patch)
tree4148816adeae99da1618d8a81a86101cc71ec9b8 /package
parent077e9a7e7ade77acfaeefbc86ea1ac647fbca0c0 (diff)
downloadmtk-20170518-7f3193a673d71bb9ccbcdc81a0de7226832820e5.zip
mtk-20170518-7f3193a673d71bb9ccbcdc81a0de7226832820e5.tar.gz
mtk-20170518-7f3193a673d71bb9ccbcdc81a0de7226832820e5.tar.bz2
Default to port 1812 for radius authentication when doing 802.1x
SVN-Revision: 11890
Diffstat (limited to 'package')
-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 5f87282..d7d18db 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"