Hi,

I found that my previous patch for ax25ipd did not give good results.
Here is the new patch.


diff -ruN ax25-apps-0.0.6.2/ax25ipd/ax25ipd.h ax25-apps-0.0.6.2b/ax25ipd/ax25ipd.h
--- ax25ipd/ax25ipd.h   2005-12-23 21:21:40.000000000 +0100
+++ ax25ipd/ax25ipd.h   2007-12-06 11:21:58.000000000 +0100
@@ -41,7 +41,7 @@
  *
  */

-#define VERS2 "Version 1.0.3"
+#define VERS2 "Version 1.0.5"

 #define IPPROTO_AX25 93
 #define DEFAULT_UDP_PORT 10093
diff -ruN ax25-apps-0.0.6.2/ax25ipd/config.c ax25-apps-0.0.6.2b/ax25ipd/config.c
--- ax25ipd/config.c    2005-12-23 21:21:41.000000000 +0100
+++ ax25ipd/config.c    2007-12-09 13:55:41.000000000 +0100
@@ -310,8 +310,8 @@
                         strncpy(thost,q,255);
                         thost[255]=0;
                    } else {
-                        return -5;
-                        }
+ fprintf(stderr,"ax25ipd: %s host IP address unknown - will probe it again later\n",q);
+                  }
                }

                while ((q = strtok(NULL, " \t\n\r")) != NULL) {
diff -ruN ax25-apps-0.0.6.2/ax25ipd/HISTORY.ax25ipd ax25-apps-0.0.6.2b/ax25ipd/HISTORY.ax25ipd
--- ax25ipd/HISTORY.ax25ipd     2005-12-23 21:21:41.000000000 +0100
+++ ax25ipd/HISTORY.ax25ipd     2007-12-06 11:27:02.000000000 +0100
@@ -49,6 +49,11 @@
* on UDP port. Also deleted exit(3) for errors occuring with
  *             kiss serial port (f6bvp).
  *
+ *     1.0.4   when started the program stopped if resolving host ip from
+ *             its hostname was unsuccessful (f6bvp).
+ *             Replaced this by a simple error warning as the remote host could
+ *             be temporary down and the address will be checked again later.
+ *
  *      July97  Added support for broadcast addresses and routes.
  *              Converted route array to a linked list and removed the
  *              maximum route limitations. (vk2ktj)


73 de Bernard, f6bvp


-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to