73,9 → 73,10 |
arp_globals_t arp_globals; |
|
/** Creates new protocol specific data. |
* @param proto Protocol specific data. Output parameter. |
* @param service Protocol module service. Input parameter. |
* @param address Actual protocol device address. Input parameter. |
* Allocates and returns the needed memory block as the proto parameter. |
* @param proto The allocated protocol specific data. Output parameter. |
* @param service The protocol module service. Input parameter. |
* @param address The actual protocol device address. Input parameter. |
* @returns EOK on success. |
* @returns ENOMEM if there is not enough memory left. |
*/ |
210,6 → 211,7 |
|
measured_string_ref tmp; |
|
// copy the given address for exclusive use |
tmp = measured_string_copy( address ); |
if( ERROR_OCCURRED( arp_device_message( device_id, netif, protocol, tmp ))){ |
free( tmp->value ); |