On Freitag, 2. Mai 2008, Bernhard Herzog wrote:
> [EMAIL PROTECTED] writes:
> > Modified: trunk/openvas-libraries/libopenvas/store_internal.h
> > ===================================================================
> > --- trunk/openvas-libraries/libopenvas/store_internal.h     2008-04-30 
> > 17:28:13 UTC (rev 841)
> > +++ trunk/openvas-libraries/libopenvas/store_internal.h     2008-04-30 
> > 19:16:43 UTC (rev 842)
> > @@ -16,6 +16,7 @@
> >  struct plugin {
> >     char magic;
> >     int id;
> > +   char oid                [1024];
> >     char path               [256];
> >     int timeout;
> >     int category;
> > @@ -37,7 +38,7 @@
> >     char required_ports     [64];
> >     char required_udp_ports [64];
> >     int has_prefs:1;
> > -   };
> > +};
> 
> This changes the format of the files in the plugin description cache.
> AFAICT we need to change the value for the magic field at the beginning
> of struct plugin to make sure that the old cache entries are considered
> invalid.

I've increased the MAGIC by 1. Should solve the issue. Also lowered
size of oid to 100 which appears still quite big to me.

Best

        Jan
-- 
Dr. Jan-Oliver Wagner                        Intevation GmbH, Osnabrück
Amtsgericht Osnabrück, HR B 18998             http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to