Following up re (1)

Try the attached patch - it shifts the strncpy() to safe_snprintf() calls so
we get buffer length feedback in the log.

-----Burton


 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Burton Strauss
Sent: Wednesday, August 17, 2005 9:00 AM
To: [email protected]
Subject: RE: [Ntop-dev] PR_TWTATGB - no Historical Protocol View
norNetworkLoad graphs for LAN cards on Windows

(1) Why 64 ... Is it that it's big enough for your renamed network cards?
Or is that the actual size limit on A network card name?

<snip />

-----Burton
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Georger Araujo
Sent: Tuesday, August 16, 2005 11:36 AM
To: [email protected]; [email protected]
Subject: Re: [Ntop-dev] PR_TWTATGB - no Historical Protocol View nor
NetworkLoad graphs for LAN cards on Windows

Problem solved. Just had to change rrdInterface[32] to rrdInterface[64] in
line 2066 of plugins/rrdplugin.c and recompile. If anyone is interested I
made the mingw-compatible source available at
http://savefile.com/projects.php?pid=420840 - it's up-to-date with CVS and
running rock solid on my Windows XP Pro SP2 notebook for 1h20mins now.
Now I think I'll take a look at arbitrary graphs - ntop CVS still goes down
in flames with those.
Regards,

Georger

<snip />

Attachment: BMS0625-rrdinterfacelength.patch
Description: Binary data

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to