On Tue, 18 May 1999, Arno Verhoeven wrote: > Like Tomi mentioned it we need to change it in the kernel source. I was > already afraid of that. Argh. I did NOT say that. Netromd is the one responsible for sending and listening to NODES broadcasts, not kernel. > I guess I could try and see what happens if I do a "find and replace" > (find NODES and replace with PI8ZAA). But I doubt that it wil work. I > will probably replace to much. A search and replace in netromd.c (ax25-utils!!!) might do the trick. I did a quick (completely untested, it compiles though) patch that tries to listen to both NODES and PI8ZAA. I include it as an attachment in this email. -- --... 73 de Tomi / OH2BNS @ OH2RBI.FIN.EU / [EMAIL PROTECTED] ...--
--- netromd.c.old Thu May 20 17:51:20 1999 +++ netromd.c Thu May 20 17:46:37 1999 @@ -36,6 +36,7 @@ ax25_address my_call; ax25_address node_call; +ax25_address node_call2; static void terminate(int sig) { @@ -192,6 +193,7 @@ convert_call_entry(nr_config_get_addr(NULL), (char *)&my_call); convert_call_entry("NODES", (char *)&node_call); + convert_call_entry("PI8ZAA", (char *)&node_call2); if ((s = socket(AF_INET, SOCK_PACKET, htons(ETH_P_AX25))) == -1) { perror("netromd: socket"); @@ -229,7 +231,7 @@ return 1; } - if (ax25cmp((ax25_address *)(buffer + 1), &node_call) == 0 && + if ((ax25cmp((ax25_address *)(buffer + 1), &node_call) == 0 || +ax25cmp((ax25_address *)(buffer + 1), &node_call2)) == 0 && ax25cmp((ax25_address *)(buffer + 8), &my_call) != 0 && buffer[16] == NETROM_PID && buffer[17] == NODES_SIG) { for (i = 0; i < port_count; i++) {