Searched hist:10252 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/base/ | ||
H A D | inet.cc | diff 10252:c625a3c51bac Wed Jul 09 09:28:00 EDT 2014 Anthony Gutierrez <atgutier@umich.edu> base: fix operator== for comparing EthAddr objects this operator uses memcmp() to detect if two EthAddr object have the same address, however memcmp() will return 0 if all bytes are equal. operator== returns the return value of memcmp() to indicate whether or not two address are equal. this is incorrect as it will always give the opposite of the intended behavior. this patch fixes that problem. |
Completed in 8 milliseconds