ocaml-attic / mirari

Mirage Application Builder
6 stars 5 forks source link

Missing type conversion for OS.Netif.add_vif? #16

Closed pgj closed 10 years ago

pgj commented 10 years ago

I found that the backend.ml file generated by mirari is not exactly all right, as the compiler complains that the id passed to OS.Netif.add_vif is not of type OS.Netif.id. So I guess an explicit type conversion between the original string and the requested OS.Netif.id type is needed.