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>
Sun, 21 Feb 2010 02:50:53 +0000 (18:50 -0800)
commitd7676fc647aa195912bfa3c92acffda371d1e06d
tree1fc1803287e7585eb05b7201f0096c0ec2f1aff5
parent9f0100c2027bb702502f50988994ad887757b3ae
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