saltstack/salt — pull request #1244 by therek (2012-05-10 14:18:37+00:00)
Title: Fix MAC address handling in FreeBSD

* The `ifconfig` command on FreeBSD, and as I've seen on CentOS too, displays MAC address information on a single line (FreeBSD) or as a last entry in line (CentOS), so there's no `\s` at the end, but a new line.
* Loopback interfaces (`lo*`) on FreeBSD have no MAC addresses assigned, so instead of Traceback `network.hwaddr` should return `None`.