diff options
Diffstat (limited to 'netrom')
-rw-r--r-- | netrom/Makefile.in | 6 | ||||
-rw-r--r-- | netrom/nrparms.c | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/netrom/Makefile.in b/netrom/Makefile.in index 4dc6975..f7249bf 100644 --- a/netrom/Makefile.in +++ b/netrom/Makefile.in @@ -61,7 +61,9 @@ AWK = @AWK@ AX25IO_LIB = @AX25IO_LIB@ AX25_LIB = @AX25_LIB@ CC = @CC@ +CXX = @CXX@ DMASCC = @DMASCC@ +FLTK_LIB = @FLTK_LIB@ MAKEINFO = @MAKEINFO@ NCURSES_LIB = @NCURSES_LIB@ PACKAGE = @PACKAGE@ @@ -98,6 +100,10 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ +X_CFLAGS = @X_CFLAGS@ +X_LIBS = @X_LIBS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ netromd_OBJECTS = netromd.o netromr.o netromt.o netromd_LDADD = $(LDADD) netromd_DEPENDENCIES = diff --git a/netrom/nrparms.c b/netrom/nrparms.c index 48895b9..78a81f3 100644 --- a/netrom/nrparms.c +++ b/netrom/nrparms.c @@ -37,6 +37,7 @@ 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"); @@ -44,7 +45,7 @@ void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count, } nr_node.type = NETROM_NODE; - /*nr_node.ndigis = 0;*/ + nr_node.ndigis = 0; if (op[0] != '+' && op[0] != '-') { fprintf(stderr, "nrparms: nodes: invalid operation %s\n", op); @@ -95,7 +96,7 @@ void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count, close(s); exit(1); } - /* + for (i = 0; i < AX25_MAX_DIGIS && digis[i] != NULL; i++) { if (ax25_aton_entry(digis[i], nr_node.digipeaters[i].ax25_call) != 0) { fprintf(stderr, "nrparms: invalid callsign %s\n", digis[i]); @@ -103,7 +104,7 @@ void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count, exit(1); } nr_node.ndigis++; - } */ + } if ((dev = ax25_config_get_dev(port)) == NULL) { fprintf(stderr, "nrparms: nodes: invalid port name - %s\n", port); |