'Ello Luca,

Your latest version of NTOP in cvs has a problem if started with multiple
interfaces.

-i eth0,eth1,eth2

It dumps core on startup.

Here is a fix for it: Please check and incorporate.

[root@uranium ntop]# cvs diff initialize.c
Index: initialize.c
===================================================================
RCS file: /export/home/ntop/ntop/initialize.c,v
retrieving revision 1.64
diff -r1.64 initialize.c
755,756c756,757
<       tmpDevice = (ntopInterface_t*)malloc(mallocLen);
<       memset(tmpDevice, 0, mallocLen);
---
>       tmpDevice = (ntopInterface_t*)realloc(device, mallocLen);
>       memset(tmpDevice+numDevices, 0, sizeof(ntopInterface_t));



Thanks,
Marius.
-- 
�  Maybe in order to understand mankind we have to look at that word
   itself.  MANKIND.  Basically, it's made up of two separate words
   "mank" and "ind."  What do these words mean?  It's a mystery and
   that's why so is mankind.
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to