Fix condition to check if the maximum number of FIBs is greater than 0 or not.

Spotted by:	zont
This commit is contained in:
Hiroki Sato 2012-11-18 11:22:15 +00:00
parent d60ec817ea
commit a2aa7473f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243212

View File

@ -144,7 +144,7 @@ static_inet6()
# get the number of FIBs supported.
fibs=$((`${SYSCTL_N} net.fibs` - 1))
if [ -n "$fibs" ]; then
if [ "$fibs" -gt 0 ]; then
fibmod="-fib 0-$fibs"
else
fibmod=