Support IPRequest to specify IP address for interface

This commit is contained in:
Alona Kaplan
2018-11-28 13:27:49 +02:00
committed by Tomofumi Hayashi
parent d1c8a3d93f
commit f4068d18bd
4 changed files with 65 additions and 34 deletions

View File

@@ -83,6 +83,9 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st
if net.MacRequest != "" {
delegateConf.MacRequest = net.MacRequest
}
if net.IPRequest != "" {
delegateConf.IPRequest = net.IPRequest
}
}
delegateConf.Bytes = bytes