Skip to content

Commit 22c810e

Browse files
committed
Comment for future possibility.
1 parent f7742cf commit 22c810e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

digipeater.c

+10
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,16 @@ static packet_t digipeat_match (int from_chan, packet_t pp, char *mycall_rec, ch
484484
break;
485485
}
486486

487+
// Idea: Here is an interesting idea for a new option. REORDER?
488+
// The preemptive digipeater could move its call after the (formerly) last used digi field
489+
// and preserve all the unused fields after that. The list of used addresses would
490+
// accurately record the journey taken by the packet.
491+
492+
// https://groups.yahoo.com/neo/groups/aprsisce/conversations/topics/31935
493+
494+
// > I was wishing for a non-marking preemptive digipeat so that the original packet would be left intact
495+
// > or maybe something like WIDE1-1,WIDE2-1,KJ4OVQ-9 becoming KJ4OVQ-9*,WIDE1-1,WIDE2-1.
496+
487497
return (result);
488498
}
489499
}

digipeater.h

-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ struct digi_config_s {
3838

3939
enum preempt_e { PREEMPT_OFF, PREEMPT_DROP, PREEMPT_MARK, PREEMPT_TRACE } preempt[MAX_CHANS][MAX_CHANS];
4040

41-
//char type_filter[MAX_CHANS][MAX_CHANS][20]; // TODO1.2: remove this
42-
4341
char *filter_str[MAX_CHANS+1][MAX_CHANS+1];
4442
// NULL or optional Packet Filter strings such as "t/m".
4543
// Notice the size of arrays is one larger than normal.

0 commit comments

Comments
 (0)