Commit Graph

6 Commits

Author SHA1 Message Date
David Anderson e3646cb406 client: fix error returns for get_mac_address() on Unix 2013-11-19 11:23:38 -08:00
Charlie Fenton 8ac1d88df1 client: On Macintosh, return MAC address for first Ethernet controller only. 2013-11-19 02:13:22 -08:00
Charlie Fenton 3e52dbaf31 client: On Macintosh, return MAC address for first Ethernet controller only.
- Update Xcode project for mac_adress.cpp,.h moved from lib/ to client/
2013-11-19 01:18:32 -08:00
David Anderson 6d0d5d42f0 compile fix 2013-11-18 20:43:07 -08:00
David Anderson d441502f66 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-11-18 20:36:55 -08:00
David Anderson 634613abcc client: generate host CPID as a function of MAC address
This makes the host CPID stable; if you repeatedly install BOINC
on a particular node, it will get the same host CPID each time,
and your host table won't get lots of redundant entries.
A host can have multiple NICs;
we use the MAC address of the first Ethernet controller we find,
or the last NIC if there is none.
Of course, this will create problems if we get the same MAC address
for different hosts; in principle this shouldn't happen.

Remove the unused file hostinfo_network.h
2013-11-18 20:31:14 -08:00