collectors: Check for NULL set of collectors.
authorJesse Gross <jesse@nicira.com>
Thu, 25 Feb 2010 14:02:26 +0000 (09:02 -0500)
committerJustin Pettit <jpettit@nicira.com>
Sat, 20 Feb 2010 22:36:59 +0000 (14:36 -0800)
commit8ff9b354bccd7b6d79c721217f21f11963daad59
treedec52a3847e81e570481c057fb5bcf6257661816
parentefa6c663df0bcad748e3a89d7b3f4dec187f6f53
collectors: Check for NULL set of collectors.

If the set of collectors for NetFlow or sFlow is empty due to
an error it will cause a crash when trying to send data.

Reported-by: Tetsuo NAKAGAWA <nakagawa@mxc.nes.nec.co.jp>
ofproto/collectors.c