Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3913 → Rev 3914

/branches/network/uspace/srv/net/il/arp/arp_module.c
46,6 → 46,8
#include "../../err.h"
#include "../../modules.h"
 
#include "../../structures/packet/packet.h"
 
#include "arp.h"
#include "arp_module.h"
 
82,11 → 84,16
 
async_set_client_connection( client_connection );
arp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING );
ERROR_PROPAGATE( arp_initialize());
ERROR_PROPAGATE( REGISTER_ME( SERVICE_ARP, & phonehash ));
ERROR_PROPAGATE( pm_init());
if( ERROR_OCCURRED( arp_initialize())
|| ERROR_OCCURRED( REGISTER_ME( SERVICE_ARP, & phonehash ))){
pm_destroy();
return ERROR_CODE;
}
 
async_manager();
 
pm_destroy();
return EOK;
}