From 5f5d1604492ae15967f9d86f41fbeeedcae0ae2b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 8 Jul 1999 06:44:55 +0200 Subject: Import ax25-tools 0.0.3 from tarball --- netrom/nrparms.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'netrom/nrparms.c') 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]); -- cgit v1.2.3