Skip to content

Add missing field disable_dhcp to default configuration & fix CI

Missing fields in struct initialisation routines produce a compilation error in Rust:

   Compiling libslirp v4.3.0 (/home/obbardc/projects/debos/libslirp-rs)
error[E0063]: missing field `disable_dhcp` in initializer of `libslirp_sys::SlirpConfig`
   --> src/context.rs:318:22
    |
318 |         let config = SlirpConfig {
    |                      ^^^^^^^^^^^ missing `disable_dhcp`

Fix the compilation error by setting disable_dhcp to false.


Also, fix the CI tests by installing the iproute2 package.

Edited by Christopher Obbard

Merge request reports

Loading