From 73f71364b3841e26af2ac0132285301bce87f810 Mon Sep 17 00:00:00 2001
From: Eugene Bujak <hmage@hmage.net>
Date: Wed, 26 Dec 2018 19:27:19 +0300
Subject: [PATCH] Add interface name to dhcp config

---
 config.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.go b/config.go
index 4133aecb..89ec9e20 100644
--- a/config.go
+++ b/config.go
@@ -59,6 +59,7 @@ type dhcpState struct {
 // field ordering is important -- yaml fields will mirror ordering from here
 type dhcpConfig struct {
 	Enabled       bool   `json:"enabled" yaml:"enabled"`
+	InterfaceName string `json:"interface_name" yaml:"interface_name"` // eth0, en0 and so on
 	GatewayIP     string `json:"gateway_ip" yaml:"gateway_ip"`
 	SubnetMask    string `json:"subnet_mask" yaml:"subnet_mask"`
 	RangeStart    string `json:"range_start" yaml:"range_start"`