summaryrefslogtreecommitdiffstats
path: root/netrom/nrparms.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-07-08 06:44:55 +0200
committerRalf Baechle <ralf@linux-mips.org>1999-07-08 06:44:55 +0200
commit5f5d1604492ae15967f9d86f41fbeeedcae0ae2b (patch)
treebcecfd65dc578eabfaee10b1e039c467ac89d8b5 /netrom/nrparms.c
parent1b4023134b5ff6342301c8135b11df46546d2828 (diff)
Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3
Diffstat (limited to 'netrom/nrparms.c')
-rw-r--r--netrom/nrparms.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/netrom/nrparms.c b/netrom/nrparms.c
index bc5803b..48895b9 100644
--- a/netrom/nrparms.c
+++ b/netrom/nrparms.c
@@ -37,7 +37,6 @@ void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count,
{
struct nr_route_struct nr_node;
char *p, *q, *dev;
- int i;
if (ax25_config_load_ports() == 0) {
fprintf(stderr, "nrparms: nodes: no AX.25 ports configured\n");
@@ -144,7 +143,7 @@ void routes(int s, char *port, char *nodecall, char *rest[])
}
nr_neigh.type = NETROM_NEIGH;
- /*nr_neigh.ndigis = 0;
+ nr_neigh.ndigis = 0;
for (i = 0; i < AX25_MAX_DIGIS && rest[i][0] != '-' && rest[i][0] != '+'; i++) {
if (ax25_aton_entry(rest[i], nr_neigh.digipeaters[i].ax25_call) != 0) {
@@ -154,7 +153,6 @@ void routes(int s, char *port, char *nodecall, char *rest[])
}
nr_neigh.ndigis++;
}
- */
op = rest[i + 0];
quality = atoi(rest[i + 1]);