Subj : Re: Poetry for who can read it. To : Kees van Eeten From : Konstantin Kuzov Date : Mon Mar 13 2017 13:19:10 Greetings, Kees! KVE> With that done the next challenge is to get the reverse route KVE> going, as well as making smapinntpd IPv6 aware. Dunno if we need to go to IPV6 echo... But porting to ipv6 is pretty trivial: ===================================================================== diff -urN ganjanntpd-1.9/main.c ganjanntpd-1.9-ipv6/main.c --- ganjanntpd-1.9/main.c 2017-02-27 23:41:23.000000000 +0300 +++ ganjanntpd-1.9-ipv6/main.c 2017-03-13 12:59:42.872717283 +0300 @@ -223,16 +223,6 @@ cfg_logfile=argv[++c]; } - else if(stricmp(arg,"-ip")==0 || stricmp(arg,"-ipaddress")==0) - { - if(c+1 == argc) - { - printf("Missing argument for %s%s\n",argv[c],src); - return(FALSE); - } - - cfg_ipaddr=argv[++c]; - } else if(stricmp(arg,"-config")==0) { if(filename) @@ -359,7 +349,6 @@ fprintf(fp,"users \"%s\"\n",cfg_usersfile); fprintf(fp,"xlat \"%s\"\n",cfg_xlatfile); fprintf(fp,"hostname \"%s\"\n",cfg_hostname); - fprintf(fp,"ipaddress \"%s\"\n",cfg_ipaddr); fprintf(fp,"logfile \"%s\"\n",cfg_logfile); fprintf(fp,"%snoecholog\n",cfg_noecholog ? "" : "#"); fprintf(fp,"%sdebug\n",cfg_debug ? "" : "#"); @@ -401,7 +390,7 @@ { SOCKET sock; int error,res; - struct sockaddr_in local; + .