saltstack/salt — pull request #1408 by twinshadow (2012-06-06 03:56:29+00:00)
Title: Simple regex fix for Linux aliases and VLAN tags

Bugs #1343 and #1398

Makes the regex detecting the interface name a bit more permissive. Tested with Archlinux using aliased interfaces and vlans, `ip` and `ifconfig` functions, and FreeBSD 7.