[Xastir-dev] IGATEing
Mark White
jmarkw at ec.rr.com
Mon Mar 14 12:07:45 EST 2005
Greetings
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);
Regards,
Mark - KE4QKT
More information about the Xastir-dev
mailing list