Changeset 75614 in vbox for trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp
- Timestamp:
- Nov 20, 2018 11:41:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp
r75569 r75614 448 448 i, cSegs, 449 449 &cbSegFrame); 450 ifInput(pvSegFrame, cbFrame);450 ifInput(pvSegFrame, (uint32_t)cbFrame); 451 451 } 452 452 } … … 738 738 739 739 unique_ptr_pbuf q ( pbuf_alloc(PBUF_RAW, (u16_t)data.size(), PBUF_RAM) ); 740 if ( q == NULL)741 return; 742 743 error = pbuf_take(q.get(), &data.front(), data.size());740 if (!q) 741 return; 742 743 error = pbuf_take(q.get(), &data.front(), (u16_t)data.size()); 744 744 if (error != ERR_OK) 745 745 return;
Note:
See TracChangeset
for help on using the changeset viewer.