[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.

  • To: mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Tue, 26 Mar 2019 15:11:08 +0100
  • Delivery-date: Tue, 26 Mar 2019 14:11:18 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Openpgp: id=11B5464249B5BD858FFF6328BC896588DF7C28EE

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


MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.