mirror of https://github.com/wb2osz/direwolf.git
Comment for future possibility.
This commit is contained in:
parent
f7742cf044
commit
22c810e442
10
digipeater.c
10
digipeater.c
|
@ -484,6 +484,16 @@ static packet_t digipeat_match (int from_chan, packet_t pp, char *mycall_rec, ch
|
|||
break;
|
||||
}
|
||||
|
||||
// Idea: Here is an interesting idea for a new option. REORDER?
|
||||
// The preemptive digipeater could move its call after the (formerly) last used digi field
|
||||
// and preserve all the unused fields after that. The list of used addresses would
|
||||
// accurately record the journey taken by the packet.
|
||||
|
||||
// https://groups.yahoo.com/neo/groups/aprsisce/conversations/topics/31935
|
||||
|
||||
// > I was wishing for a non-marking preemptive digipeat so that the original packet would be left intact
|
||||
// > or maybe something like WIDE1-1,WIDE2-1,KJ4OVQ-9 becoming KJ4OVQ-9*,WIDE1-1,WIDE2-1.
|
||||
|
||||
return (result);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,8 +38,6 @@ struct digi_config_s {
|
|||
|
||||
enum preempt_e { PREEMPT_OFF, PREEMPT_DROP, PREEMPT_MARK, PREEMPT_TRACE } preempt[MAX_CHANS][MAX_CHANS];
|
||||
|
||||
//char type_filter[MAX_CHANS][MAX_CHANS][20]; // TODO1.2: remove this
|
||||
|
||||
char *filter_str[MAX_CHANS+1][MAX_CHANS+1];
|
||||
// NULL or optional Packet Filter strings such as "t/m".
|
||||
// Notice the size of arrays is one larger than normal.
|
||||
|
|
Loading…
Reference in New Issue