mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Added IPv4Address class.
This commit is contained in:
@@ -274,7 +274,7 @@ bool Tins::DHCP::generic_search(Options opt, std::list<uint32_t> *container) {
|
||||
if((len % sizeof(uint32_t)) != 0)
|
||||
return false;
|
||||
while(len) {
|
||||
container->push_back(*(ptr++));
|
||||
container->push_back(Utils::net_to_host_l(*(ptr++)));
|
||||
len -= sizeof(uint32_t);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user