collectors: Check for NULL set of collectors.
authorJesse Gross <jesse@nicira.com>
Thu, 25 Feb 2010 14:02:26 +0000 (09:02 -0500)
committerJesse Gross <jesse@nicira.com>
Thu, 25 Feb 2010 14:06:17 +0000 (09:06 -0500)
commit7e56c85c02c547deda93ec09a589eae7e253fc58
tree306daa50125163c061d9b2c0f0c835a918db7f1a
parent3a32d4ca77ab91c495b3628b58c3967af7b6ff39
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