refactor(config): remove unimplemented measurement types

Remove NTP and TCP timestamp variants from the measurement type configuration since they are currently unimplemented and lead to runtime panics.
This commit is contained in:
Nils Andreas Svee committed 2026-07-20 23:06:23 +07:00
1 parent b07dc99bf5
commit cd6d631afa
3 files changed
-12

No files matched your search

-3
View File
@@ -60,9 +60,6 @@ const INFLIGHT_PROBE_TTL: Duration = Duration::from_secs(30);
fn open_socket(type_: MeasurementType) -> io::Result<IcmpSocket4> {
match type_ {
MeasurementType::Icmp | MeasurementType::IcmpTimestamps => IcmpSocket4::new(),
_ => {
unimplemented!()
}
}
}