|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] mirage-skeleton/applications/dhcp fails to build with static hosts uncommented.
On 26/03/2019 14:57, Joe wrote:
> On 3/26/19 7:55 AM, Adam Steen wrote:
>> As it says on the tin, when i uncomment let static_host_1 = { ... } in
>> dhcp_config.ml, the build fails with the below error.
>>
>> Not sure how to fix this, I will try and look at it soon, but someone
>> might know whats up here first.
>>
>> File "dhcp_config.ml", line 37, characters 2-10:
>> Error: Unbound record field hostname
>> Hint: Did you mean sname?
>
> I'm not sure how big of a fan I am of the way this example reads its
> configuration; it seems pretty hard to use, but here's a diff that makes
> it compile with your static options:
I'd propose another fix, and qualify the Dhcp_server.Config.host record,
as done in https://github.com/mirage/mirage-skeleton/pull/269
hannes
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/mirageos-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |