Here are the patches I used all in one place (and hopefully without the
silly 3D 's that seem to get inserted....


Index: pbuf.c
===================================================================
RCS file: /export/home/ntop/ntop/pbuf.c,v
retrieving revision 2.131
diff -r2.131 pbuf.c
961c961
<       u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off * 4);
---
>       u_char *tcp_data = (u_char *)((int)tcp + tp.th_off * 4);
Index: report.c
===================================================================
RCS file: /export/home/ntop/ntop/report.c,v
retrieving revision 2.152
diff -r2.152 report.c
620c620,622
<   snprintf(buf, sizeof(buf), "%s/interfaces/%s", myGlobals.rrdPath,
---
>   snprintf(buf, sizeof(buf), "%s/interfaces/%s", myGlobals.rrdPath ?
>               myGlobals.rrdPath :
>               "",
Index: reportUtils.c
===================================================================
RCS file: /export/home/ntop/ntop/reportUtils.c,v
retrieving revision 2.153
diff -r2.153 reportUtils.c
3701c3701,3703
<     snprintf(buf, sizeof(buf), "%s/interfaces/%s/hosts/%s",
myGlobals.rrdPath,
---
>     snprintf(buf, sizeof(buf), "%s/interfaces/%s/hosts/%s",
myGlobals.rrdPath ?
>                myGlobals.rrdPath :
>                "",


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to