Fix MAC generation
Merge pull request #40 from frenetic-lang/fix_mac

Fix MAC generation - LGTM