Prevent a divide by zero panic if trunkproto loadbalance is
authormpf <mpf@openbsd.org>
Wed, 30 Jul 2008 10:15:35 +0000 (10:15 +0000)
committermpf <mpf@openbsd.org>
Wed, 30 Jul 2008 10:15:35 +0000 (10:15 +0000)
commit9368cb083dfef01a6e4faad390becc38019ff235
tree27e0ded9f897cbdf1e4711870b361158267f489d
parentcfd66af5df39a8b464d362edefb8c75967661ff8
Prevent a divide by zero panic if trunkproto loadbalance is
used w/out any trunkports. Patch from Dmitri Alenitchev.
OK reyk@
sys/net/if_trunk.c