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
master
Florian Fainelli 2008-07-21 09:58:16 +00:00
parent ca20b13278
commit 027e4b35e1
1 changed files with 1 additions and 1 deletions

View File

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