Skip to content

Commit

Permalink
Fix wrong nasl_perror call
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStiefvater committed Oct 16, 2020
1 parent 5741d77 commit 167647c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nasl/nasl_packet_forgery_v6.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,8 @@ set_udp_v6_elements (lex_ctxt *lexic)
return retc;
}
else
nasl_perror ("set_udp_v6_elements: You must supply the 'udp' argument !\n");
nasl_perror (lexic,
"set_udp_v6_elements: You must supply the 'udp' argument !\n");

return NULL;
}
Expand Down

0 comments on commit 167647c

Please sign in to comment.