From 22c810e44296ab0d41a75a634e2bd8168e72e7b9 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sat, 16 Dec 2017 10:03:30 -0500 Subject: [PATCH] Comment for future possibility. --- digipeater.c | 10 ++++++++++ digipeater.h | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/digipeater.c b/digipeater.c index 1900d78..36970d7 100644 --- a/digipeater.c +++ b/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); } } diff --git a/digipeater.h b/digipeater.h index d1ad3b6..9885859 100644 --- a/digipeater.h +++ b/digipeater.h @@ -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.