Update upstream source from tag 'upstream/2.8.1'

Update to upstream version '2.8.1'
with Debian dir e48f2b6106
This commit is contained in:
hibby 2018-01-20 11:59:47 +00:00
commit 1b58e6dc77
4 changed files with 23 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
.pc/

View File

@ -299,6 +299,7 @@ While working on new node W1WCG, I noticed some code clean up in node.c
There's still a lot more to do especially with ANSI. There's still a lot more to do especially with ANSI.
15/06/2017 - v2.8 15/06/2017 - v2.8
In gateway.c I cleaned up the do_ping routing slightly. I was going to add In gateway.c I cleaned up the do_ping routing slightly. I was going to add
a default timer but instead decided to let the user hit enter for their own a default timer but instead decided to let the user hit enter for their own
"timer" of sorts. Users are also now instructed on the node to hit enter "timer" of sorts. Users are also now instructed on the node to hit enter
@ -333,6 +334,16 @@ does with the exception of how it handles dynamic clients. Other than
that, it does appear to tunnel through your ISP filters as amprnet that, it does appear to tunnel through your ISP filters as amprnet
does which is a plus. does which is a plus.
12/07/2017 v2.8.1
Spotted and fixed an issue in the D command within router.c that I somehow
introduced in regards to columns not equalling a full 4x4. Locally it didn't
show but remotely it did. When one ran a D command and there were less than
4 columns a carriage return/new line was not sent making the user's screen
look "stuck" when in fact it was not. Fixed!.. before bugs were reported :)
Note: this *only* affected an incoming NetRom connection.
Changed this file and node.h to reflect 2.8.1.
----------- Note on SystemD -------- ----------- Note on SystemD --------
In uronode.socket, you'll notice the line: In uronode.socket, you'll notice the line:
ListenStream=0.0.0.0:3694 ListenStream=0.0.0.0:3694

4
node.h
View File

@ -1,5 +1,5 @@
#define VERSION "URONode v2.8" #define VERSION "URONode v2.8.1"
#define COMPILING "November 23, 2017" #define COMPILING "December 7, 2017"
#define STATE_IDLE 0 #define STATE_IDLE 0
#define STATE_TRYING 1 #define STATE_TRYING 1

View File

@ -202,10 +202,17 @@ int do_dest(int argc, char **argv)
} }
for (p=fdst;p!=NULL;p=p->next) { for (p=fdst;p!=NULL;p=p->next) {
sprintf(ssid, "%d-%d", p->ssida, p->sside); sprintf(ssid, "%d-%d", p->ssida, p->sside);
axio_printf(NodeIo,"%-7s %-5s %4ld%s",p->dest_call,ssid,p->rtt,(++i % 4) ? " " : "\n"); axio_printf(NodeIo,"%-7s %-5s %4ld%c",p->dest_call,ssid,p->rtt,(++i % 4) ? ' ' : '\n');
} }
if ((i % 4) != 0) axio_printf(NodeIo,""); if ((User.ul_type == AF_NETROM) && (i % 4) == 0) {
free_flex_dst(fdst); node_msg("");
}
if ((User.ul_type == AF_NETROM) && (i % 4) != 0) {
node_msg("");
} else
if ((User.ul_type != AF_NETROM) && (i % 4) == 0) {
}
free_flex_dst(fdst);
// if (User.ul_type == AF_NETROM) { // if (User.ul_type == AF_NETROM) {
// node_msg(""); // node_msg("");
// } // }