[Bug/Feature] Doesn't compile on x86_84 (conversion warning),
operator << instead + in log message
[Cause] N/A
[Solution] N/A
[Verification] compile on x86_64 (f.e. tizenorg_common_x86_64_x11)
Change-Id: I51e51297eec860c65a19810ea1d4feead7c1d3a8
throw VasumException("Wrong attribute type");
}
if (len >= 0 && rta->rta_len != RTA_LENGTH(len)) {
- LOGE("Wrong attribute length, expected: " << rta->rta_len + ", got " << len);
+ LOGE("Wrong attribute length, expected: " << rta->rta_len << ", got " << len);
throw VasumException("Wrong attribute length");
}
return reinterpret_cast<const char*>(RTA_DATA(get(rta->rta_len)));
/**
* Fetch attribute
*/
- NetlinkResponse& fetch(int ifla, std::string& value, int maxSize = std::string::npos);
+ NetlinkResponse& fetch(int ifla, std::string& value, int maxSize = -1);
template<class T>
NetlinkResponse& fetch(int ifla, T& value);
///@}