Merge branch '2.4.2/16275-use-mac-in-l2-networks'

This commit is contained in:
Daniel Dehennin 2016-06-02 11:43:30 +02:00
commit dd06c262df

View File

@ -274,6 +274,10 @@ class OneNetworkL2(OneNetwork):
if self.net_size:
template.write("AR=[\n")
template.write(' TYPE = "ETHER",\n')
if self.first_mac:
template.write(' MAC = "{0}",\n'.format(self.first_mac))
template.write(' SIZE = "{0}"\n'.format(self.net_size))
template.write("]\n")
template.close()