doc: fix
This commit is contained in:
parent
1475f4af0c
commit
7af83910ef
@ -47,7 +47,7 @@ impl<'a> DhcpConfig<'a> {
|
||||
pub fn set_filename(&mut self, filename: &str) {
|
||||
self.enable_netboot();
|
||||
self.get_lan_dhcpd().filename = Some(filename.to_string());
|
||||
},
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
@ -74,7 +74,7 @@ impl DhcpServer for OPNSenseFirewall {
|
||||
}
|
||||
|
||||
Ok(())
|
||||
},
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
@ -85,7 +85,7 @@ impl DhcpServer for DummyInfra {
|
||||
...
|
||||
async fn set_filename(&self, _filename: &str) -> Result<(), ExecutorError> {
|
||||
unimplemented!("{}", UNIMPLEMENTED_DUMMY_INFRA)
|
||||
},
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
@ -143,6 +143,6 @@ impl DhcpInterpret {
|
||||
format!(
|
||||
"Dhcp Interpret Set next boot to [{:?}], boot_filename to [{:?}], filename to [{:?}]",
|
||||
self.score.boot_filename, self.score.boot_filename, self.score.filename
|
||||
),
|
||||
)
|
||||
...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user