I'm just now learning NASL to do things more complicated than an
automated wget.  Is there a special ordering that the display() requires?

for(i=0; i<65535; i = i + 4)
{
    send_packet(udp1,pcap_active:FALSE);
    display(i, "\n");
}

versus

for(i=0; i<65535; i = i + 4)
{
    display(i, "\n");
    send_packet(udp1,pcap_active:FALSE);
}

I get 

[30452](foo.nasl) NASL> Return send_packet: NULL

if I do the display first
-- 
Chris Green <[EMAIL PROTECTED]>
Warning: time of day goes back, taking countermeasures.

Reply via email to