<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/nnfc/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/nnfc/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 01 Jul 2005 10:30:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nnfc/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Time field wrong in mysql database?</title><link>https://sourceforge.net/p/nnfc/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We use the time of the router and the mysql pluggin to&lt;br /&gt;
log the&lt;br /&gt;
flows to a mysql database.&lt;/p&gt;
&lt;p&gt;With this setup the timefield for the flows is wrong.&lt;/p&gt;
&lt;p&gt;This seems the same issue as 1225406:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1225406&amp;amp;group_id=117313&amp;amp;atid=677652"&gt;https://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1225406&amp;amp;group_id=117313&amp;amp;atid=677652&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We are testing a sollution for this problem.&lt;/p&gt;
&lt;p&gt;If this sollution works a patch will follow.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcel Nijenhof</dc:creator><pubDate>Fri, 01 Jul 2005 10:30:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5a5ebe7734d835a39bae4299c37377eb367f906d</guid></item><item><title>Plugins</title><link>https://sourceforge.net/p/nnfc/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
Thank you for your open-source nnfc. &lt;br /&gt;
When I am writing my own plugin I found an possible &lt;br /&gt;
error in function insertflow() in file plugin/file/file.c.&lt;br /&gt;
Here if you use the remote router time, we can calculate &lt;br /&gt;
the netflow time by hdr-&amp;gt;secs, hdr-&amp;gt;uptime and flow5-&lt;br /&gt;
&amp;gt;luptime. But the unit of secs is second, while the &lt;br /&gt;
uptime and luptime are millisecond. I am sure that the 3 &lt;br /&gt;
operands could not been added or subtracted together. I &lt;br /&gt;
strongly longs for the confirmation that there is &lt;br /&gt;
something wrong with the calculation of remote router &lt;br /&gt;
time.&lt;br /&gt;
Thank you for you coming reply. &lt;/p&gt;
&lt;p&gt;The possbile bug exists in the following codes:&lt;br /&gt;
/* inserts flow into database */&lt;br /&gt;
void insertflow(uint32_t address, void *flowhdr, void *flow, &lt;br /&gt;
int num)&lt;br /&gt;
{&lt;br /&gt;
......&lt;br /&gt;
if (ltime)&lt;br /&gt;
ttm = time(NULL);&lt;br /&gt;
else&lt;br /&gt;
ttm = htonl(hdr5-&amp;gt;secs) - htonl&lt;br /&gt;
(hdr5-&amp;gt;uptime) &lt;br /&gt;
+ htonl(flow5-&amp;gt;luptime);&lt;br /&gt;
stm = localtime(&amp;amp;ttm);&lt;br /&gt;
......&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zhao Jun</dc:creator><pubDate>Wed, 22 Jun 2005 09:41:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete5c00997729516aa2f45088d2c64f3823192f717</guid></item></channel></rss>