Added handling for ARCNET on the Linux port.

This commit is contained in:
skarg
2005-09-06 20:41:01 +00:00
parent 7368ba24f6
commit 4ba79baf1e
8 changed files with 77 additions and 13 deletions
+5 -7
View File
@@ -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 (;;)