Browse Source

Default to port 1812 for radius authentication when doing 802.1x

SVN-Revision: 11890
Florian Fainelli 17 years ago
parent
commit
7f3193a673
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/broadcom-wl/files/lib/wifi/broadcom.sh

+ 1 - 1
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"