Skip to content

Remove ntp_make_packet since it is dead code#681

Merged
dadrian merged 1 commit into
zmap:mainfrom
jonasbb:patch-1
Nov 10, 2021
Merged

Remove ntp_make_packet since it is dead code#681
dadrian merged 1 commit into
zmap:mainfrom
jonasbb:patch-1

Conversation

@jonasbb

@jonasbb jonasbb commented Nov 10, 2021

Copy link
Copy Markdown
Contributor

The function is not called anywhere. The module's make_packet uses udp_make_packet.
The type of ntp_make_packet is also not compatible with probe_make_packet_cb any longer. For example the size_t *buf_len argument is missing.

The function is not called anywhere. The module's make_packet uses `udp_make_packet`.
The type of `ntp_make_packet` is also not compatible with `probe_make_packet_cb` any longer. For example the `size_t *buf_len` argument is missing.
@dadrian

dadrian commented Nov 10, 2021

Copy link
Copy Markdown
Member

Thanks, I meant to do this when I cleaned up the probe module interface.

@dadrian dadrian merged commit 981a176 into zmap:main Nov 10, 2021
@jonasbb jonasbb deleted the patch-1 branch November 10, 2021 16:53
davideandres95 pushed a commit to ds-ukassel/zmap-multipath-rtt that referenced this pull request Jun 26, 2026
The function is not called anywhere. The module's make_packet uses `udp_make_packet`.
The type of `ntp_make_packet` is also not compatible with `probe_make_packet_cb` any longer. For example the `size_t *buf_len` argument is missing.

zmap/zmap#681
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants