[Xastir-dev] IGATEing

Curt, WE7U archer at eskimo.com
Mon Mar 14 16:08:36 EST 2005


On Mon, 14 Mar 2005, Mark White wrote:

> After a recent CVS update I noticed that packets from my TinyTrak were
> not getting IGATEd.  After some snooping around it appears to be because
> of some special processing for items/objects in
> db.c:decode_info_field().  The TinyTrak sends posits using the '!' DTI
> and these were being snagged by some object/item processing.  Below is a
> diff of what I did to get it working.  I'm not sure if this is the right
> way to fix it...
>
> RCS file: /cvsroot/xastir/xastir/src/db.c,v
> retrieving revision 1.442
> diff -u -r1.442 db.c
> --- db.c        12 Mar 2005 06:38:00 -0000      1.442
> +++ db.c        14 Mar 2005 16:51:03 -0000
> @@ -13946,7 +13946,7 @@
>      }
>
>           // special treatment for objects/items.
> 	  -    if (!done) {
> 	  +    if (!done && origin[0]) {
>
> 	           if (message[0] == '*') {    // set object
> 		                (void)data_add(APRS_OBJECT,call,path,message+1,from,port,origin,third_party);

Yes.  That is the correct fix.  Thanks!  I was just looking into a
problem where the filtering was messed up, and the above changes
fixes that too.

I apologize for the error.  Crept in while I was messing with code
recently.  Happens.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list