[Patch] Configurable Mac Address

Post Reply
User avatar
Tux
Posts: 24
Joined: Thu 03 May, 2018 6:36 pm
Location: Germany

[Patch] Configurable Mac Address

Post by Tux »

Not a big deal - this small patch (against PCem v14) just enables a configurable mac address.
I remember someone asking for this feature in the forum some time ago...

Not in the GUI though, you must set your mac address manually in your config. file (pcem.cfg).
Add a line similar to "macaddr = AC:DE:48:55:55:44" in the first/main section of pcem.cfg.

If this line is missing or not in correct syntax, the default address will be used.

Code shamelessly "stolen" from DosBox ;-)
Attachments
ne2000.diff.txt
(1.49 KiB) Downloaded 438 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Configurable Mac Address

Post by SarahWalker »

Committed at rev 1186. I moved it from the global config file to the per-machine config, as that seemed the more logical place to me.
Post Reply