Linux-Hams archive - February 1999: Re: ax25rtd problem ?!

Re: ax25rtd problem ?!

Klaus Kudielka (terhi.victor@logonet.com)
Mon, 08 Feb 1999 09:56:26 +0900


mmossb@imerys.com wrote:
> ax25rtd: SIOCAX250PTRT: Invalid Argument

You might want to try this patch (sorry, completely untested).
Please tell me whether it works.

--- listener.c.ORIG Mon Feb 8 09:49:46 1999
+++ listener.c Mon Feb 8 09:50:18 1999
@@ -329,7 +329,7 @@
ax25_opt.port_addr = config->mycalls[0];
ax25_opt.dest_addr = *call;
ax25_opt.cmd = AX25_SET_RT_IPMODE;
- ax25_opt.arg = ipmode? 'V':'C';
+ ax25_opt.arg = ipmode? 'V':'D';

fds = socket(AF_AX25, SOCK_SEQPACKET, 0);

-Klaus OE1KIB