Default to port 1812 for radius authentication when doing 802.1x

SVN-Revision: 11890
This commit is contained in:
Florian Fainelli 2008-07-21 09:58:16 +00:00
parent 077e9a7e7a
commit 7f3193a673

View 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"