We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21d51f commit bfcd917Copy full SHA for bfcd917
crates/lib-dhcp/src/types/option/data.rs
@@ -225,7 +225,7 @@ impl Writeable for OptionData {
225
OptionData::RenewalT1Time(time) => time.write::<E>(buf)?,
226
OptionData::RebindingT2Time(time) => time.write::<E>(buf)?,
227
OptionData::ClassIdentifier(_) => todo!(),
228
- OptionData::ClientIdentifier(_) => todo!(),
+ OptionData::ClientIdentifier(c) => c.write::<E>(buf)?,
229
};
230
231
Ok(n)
@@ -413,7 +413,7 @@ impl OptionData {
413
OptionData::RenewalT1Time(_) => 4,
414
OptionData::RebindingT2Time(_) => 4,
415
416
+ OptionData::ClientIdentifier(c) => c.len() as u8,
417
}
418
419
0 commit comments