Added handling for ARCNET on the Linux port.
This commit is contained in:
@@ -204,13 +204,7 @@ static void print_address_cache(void)
|
||||
|
||||
static void sig_handler(int signo)
|
||||
{
|
||||
#ifdef BACDL_ETHERNET
|
||||
ethernet_cleanup();
|
||||
#endif
|
||||
#ifdef BACDL_BIP
|
||||
bip_cleanup();
|
||||
#endif
|
||||
|
||||
datalink_cleanup();
|
||||
print_address_cache();
|
||||
|
||||
exit(0);
|
||||
@@ -244,6 +238,10 @@ int main(int argc, char *argv[])
|
||||
if (!bip_init())
|
||||
return 1;
|
||||
#endif
|
||||
#ifdef BACDL_ARCNET
|
||||
if (!arcnet_init("arc0"))
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
// loop forever
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user