Skip to content

Instantly share code, notes, and snippets.

@PhirePhly
Created May 23, 2014 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhirePhly/8425a40b9dabadee3646 to your computer and use it in GitHub Desktop.
Save PhirePhly/8425a40b9dabadee3646 to your computer and use it in GitHub Desktop.
Patch against aprx svn r593 fixing that empty path trackers are never "recently heard"
diff -u trunk/interface.c kwf/interface.c
--- trunk/interface.c 2014-05-23 00:42:35.275061632 -0700
+++ kwf/interface.c 2014-05-23 00:47:03.346194971 -0700
@@ -1013,7 +1013,7 @@
if (debug) printf("interface_receive_ax25() from %s axlen=%d tnc2len=%d\n",aif->callsign,axlen,tnc2len);
- if (axaddrlen <= 14) return; // SOURCE>DEST without any VIAs..
+ if (axaddrlen < 14) return; // Malformed packet without at least SOURCE>DEST.
// Note: Above one disables MICe destaddress-SSID embedded
// extremely compressed WIDEn-N notation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment