From 854624403bd3d84b179ef2caebb570cf3d9b59dc Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 27 Mar 2019 00:05:24 +0100 Subject: ax25rtd: Fix mismatch between code and documentation. Documentation and some comments were refering to /var/ax25/ax25rtd/- ax25_routes rsp. /var/ax25/ax25rtd/ip_routes while the actual code was using ax25_route rsp. ip_route, that is without plural 's'. Signed-off-by: Ralf Baechle --- ax25rtd/README.ax25rtd | 10 +++++----- ax25rtd/ax25rtctl.man | 6 +++--- ax25rtd/ax25rtd.c | 4 ++-- ax25rtd/ax25rtd.man | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ax25rtd/README.ax25rtd b/ax25rtd/README.ax25rtd index 6d3dedb..4bd6910 100644 --- a/ax25rtd/README.ax25rtd +++ b/ax25rtd/README.ax25rtd @@ -66,8 +66,8 @@ runtime maintainance through ax25rtctl or to set up new routes by other daemons (a Flexnet router, perhaps?) On startup ax25rtd reads the configuration file and afterwards preloads -the caches from the files /var/ax25/ax25rtd/ax25_routes and -/var/ax25/ax25rtd/ip_routes. On SIGTERM or ax25rtctl --save it saves the +the caches from the files /var/ax25/ax25rtd/ax25_route and +/var/ax25/ax25rtd/ip_route. On SIGTERM or ax25rtctl --save it saves the caches to those files. ax25rtd.conf @@ -230,8 +230,8 @@ ax25rtctl -e ax25rtctl --save ax25rtctl -s - Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_routes and - /var/ax25/ax25rtd/ip_routes (or the files specified in + Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_route and + /var/ax25/ax25rtd/ip_route (or the files specified in /etc/ax25/ax25rtd.conf). ax25rtctl --reload @@ -264,7 +264,7 @@ is equivalent to ax25rtctl --add ax25 dl0tha 9k6 0 dbpra All commands return port names in their output, though. -With one exception: ax25_routes and ip_routes use interface names. +With one exception: ax25_route and ip_route use interface names. /var/ax25/ax25rtd/control diff --git a/ax25rtd/ax25rtctl.man b/ax25rtd/ax25rtctl.man index 1fb69f2..9e80fd8 100644 --- a/ax25rtd/ax25rtctl.man +++ b/ax25rtd/ax25rtctl.man @@ -34,8 +34,8 @@ Removes the entries older than from the caches and the kernel routing tables. .TP .B -s, --save -Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_routes and -/var/ax25/ax25rtd/ip_routes (or the files specified in +Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_route and +/var/ax25/ax25rtd/ip_route (or the files specified in /etc/ax25/ax25rtd.conf). .TP .B -r, --reload @@ -60,7 +60,7 @@ is equivalent to @@@ax25rtctl@@@ --add ax25 dl0tha 9k6 0 dbpra All commands return port names in their output, though. -With one exception: ax25_routes and ip_routes use interface names. +With one exception: ax25_route and ip_route use interface names. .SH FILES /etc/ax25/ax25rtd.conf diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c index 99630c4..d4c8b58 100644 --- a/ax25rtd/ax25rtd.c +++ b/ax25rtd/ax25rtd.c @@ -20,8 +20,8 @@ /* * This daemon tries to learn AX.25, ARP, IP route entries by listening * to the AX.25 traffic. It caches up to 256 entries (in "FIFO" mode) - * and saves the cache on demand or at shutdown in /var/ax25/ax25rtd/ip_routes - * and /var/ax25/ax25rtd/ax25_routes. The configuration file is + * and saves the cache on demand or at shutdown in /var/ax25/ax25rtd/ip_route + * and /var/ax25/ax25rtd/ax25_route. The configuration file is * /etc/ax25/ax25rtd.conf, you can almost everything configure * there. See ax25rtcl.c for runtime maintainance. * diff --git a/ax25rtd/ax25rtd.man b/ax25rtd/ax25rtd.man index e11edf0..fe017fa 100644 --- a/ax25rtd/ax25rtd.man +++ b/ax25rtd/ax25rtd.man @@ -27,14 +27,14 @@ or to set up new routes by other daemons (a Flexnet router, perhaps?) .LP On startup @@@ax25rtd@@@ reads the configuration file and afterwards preloads -the caches from the files /var/ax25/ax25rtd/ax25_routes and -/var/ax25/ax25rtd/ip_routes. On SIGTERM or +the caches from the files /var/ax25/ax25rtd/ax25_route and +/var/ax25/ax25rtd/ip_route. On SIGTERM or .B @@@ax25rtctl@@@ --save it saves the caches to those files. .SH FILES /etc/ax25/ax25rtd.conf .br -/var/ax25/ax25rtd/ax25_routes +/var/ax25/ax25rtd/ax25_route .br /var/ax25/ax25rtd/control .br -- cgit v1.2.3