joyent/node — pull request #2240 by migounette (2011-12-01 22:51:35+00:00)
Title: Add os.networkInterfaces() support for WIN32

Add networkInterfaces for the OS modules and apply google's cpplint on it. Build test done with node.gyp and result can be seen below.

{ 'VLAN - HOME': [ { address: '192.168.1.6', family: 'IPv4', internal: false } ],
'Home - Internet': [ { address: '169.254.68.144', family: 'IPv4', internal: false } ],
'VirtualBox Host-Only Network': [ { address: '192.168.56.1', family: 'IPv4', internal: false } ],
'Loopback Pseudo-Interface 1': [ { address: '127.0.0.1', family: 'IPv4', internal: true } ],
'isatap.lan':
[ { address: 'fe80::5efe:192.168.1.6%13',
family: 'IPv6',
internal: false } ],
'Local Area Connection* 8':
[ { address: 'fe80::100:7f:fffe%16',
family: 'IPv6',
internal: false } ],
'isatap.{C3556CFE-3852-4E23-9400-DC4B348E5268}':
[ { address: 'fe80::5efe:192.168.56.1%20',
family: 'IPv6',
internal: false } ] }