-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent naming of functions and parameters and byte order fix #613
Consistent naming of functions and parameters and byte order fix #613
Conversation
e7dfe81
to
c6c0b70
Compare
For consistency the "ipv6" part becomes "ip_v6" now. The old name still needs to be included for backwards compatibility of nasl script. Both function names call the same function internally.
Renamed for consistency reasons. For backwards compatibility 'ipv6' still gets evaluated.
Also rename the internl function names. These functions are not used inernally by other nasl functions and therefore no backwards compatibility problems exist.
Entries of old function names can only be deleted once versions older than 20.08 are no longer in use. Func parameter 'ipv6' can be renamed to 'ip6' after version older than 20.08 are no longer in use.
c6c0b70
to
660e6d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Base branch might be "master" again to avoid introducing new symbols into a stable branch.
This should not be a problem. According the @jjnicola this was only an issue in the past because of binary incompatibility. Now nasl/misc libs are build together with openvas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarification. I'm currently not able to do any tests on this but changes looks good from a short look.
What:
forge_ipv6_packet
->forge_ip_v6_packet
ipv6
toip6
get_ipv6_element
Why:
How:
Check backwards compatibility
Check output of retrieved elements
Checklist: