google-code-export / fpac

Automatically exported from code.google.com/p/fpac
GNU General Public License v2.0
1 stars 0 forks source link

fpacnode status sometime reports 0 White Pages #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When starting fpacnode, command N may return an error due to an issue with fpac 
White Pages server (fpacwpd) not responding correctly.

This is confirmed by the result of S command showing zero White Pages records.

Issuing more S commands may finally return the actual White Pages record number 
(or not)

This issue is under investigation in fpac branches 3.27-wpd

Original issue reported on code.google.com by Bernard.f6bvp@gmail.com on 8 Mar 2011 at 10:01

GoogleCodeExporter commented 9 years ago
Bernard,
In command.c I made a change to the value assigned to nb.  After recompiling, 
the Node command has been consistently working.  I'm using Kernel 3.0.4 and 
libax25-1.0.3 from VE7FET on a Sheevaplug with ARMv5 processor.  The White Page 
callsign count is always 2052 for the Wp commands. So that is a bug.  I'm 
looking in libwp.c at "int wp_nb_records(void)" to see if I can reason out why 
2052 callsigns is reported.

int do_rose(int argc, char **argv)
{
/*  wp_t wpu, *wp = NULL;*/
    wp_t *wp = NULL;
    int i;
/*  int first;*/
/*.....>int nb = 100;...*/ int nb = 200;
    int ret = -1;
/*  char *country, *addr, *call;
    ax25_address address;
*/

Original comment by doxnair...@gmail.com on 17 Sep 2011 at 5:07