On Mon, Mar 17, 2014 at 01:51:44PM -0700, Gurucharan Shetty wrote:
> On Mon, Mar 17, 2014 at 1:37 PM, Ben Pfaff <b...@nicira.com> wrote:
> > On Fri, Mar 14, 2014 at 08:18:44AM -0700, Gurucharan Shetty wrote:
> >> Windows does not have a srandom() and random(). But it does
> >> have a srand() and rand(). We use these functions in sflow code.
> >>
> >> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
> >
> > How do these functions get called?  As far as I can tell, they only
> > get used if SFLOW_SOFTWARE_SAMPLING is defined, and I don't see where
> > that gets defined.
> 
> sfl_poller_set_sFlowCpInterval() in lib/sflow_poller.c calls
> random(). [...]

OK, I missed that call.

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to