summaryrefslogtreecommitdiffstats
path: root/ax25rtd/config.c
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2005-10-27 13:25:27 +0000
committerThomas Osterried <thomas@osterried.de>2005-10-27 13:25:27 +0000
commit20a2c84a1c4488ae730bcb8c0ae52a12624c1848 (patch)
treebec4be7637c82517c217ef6eeca2e6bbe2df5c17 /ax25rtd/config.c
parent6c8ea5098046ec051c59e3dee2a561118c6a00f8 (diff)
- config.c, listener.c:
users of newer versions of ax25rtd have problems with the ip-encaps-dev feature (needed only in some environments). the problem was the implementation of the feature, which results in the obvious problem that after an upgrade ax25rtd will not learn any ip-routes and arp's. a secondary problem is, when you have more than one interface, ip-routes/arp's could be learned only via _one_ interface. - config.c: ip-maxroutes was ignored - ax25rtd.conf: s/ax24/ax25/
Diffstat (limited to 'ax25rtd/config.c')
-rw-r--r--ax25rtd/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ax25rtd/config.c b/ax25rtd/config.c
index 4d63b51..7fa250d 100644
--- a/ax25rtd/config.c
+++ b/ax25rtd/config.c
@@ -1,4 +1,4 @@
-/* $Id: config.c,v 1.2 2001/09/12 13:18:43 terry Exp $
+/* $Id: config.c,v 1.3 2005/10/27 13:25:28 dl9sau Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
@@ -477,7 +477,7 @@ void load_config()
missing_arg(cmd);
} else if (!strcmp(cmd, "ip-maxroutes")) {
if (arg)
- ax25_maxroutes = atoi(arg);
+ ip_maxroutes = atoi(arg);
else
missing_arg(cmd);
@@ -601,7 +601,7 @@ void interpret_command(int fd, unsigned char *buf)
ipmode = (*arg == 'v');
- if ((config =
+ if (*ip_encaps_dev && (config =
dev_get_config(ip_encaps_dev)) == NULL) {
printf("no config for %s\n",
ip_encaps_dev);