]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adding an dbgtst Makefile entry tag-0.4.2-end
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 11 Feb 2025 15:45:29 +0000 (10:45 -0500)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 11 Feb 2025 15:45:29 +0000 (10:45 -0500)
Makefile
lib/gesspf.c
lib/subrou.c

index 00a84e0d1d1434f0a23ba520c35728b5de57801c..bc31c82f79bbf877345c69fa72db9dfc2b7a3dac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,13 @@ clean        :
 #--------------------------------------------------------------------
 test   :  clean debug
           @ shell/test-spf.sh data-tst/spf.tst
-               
+
+#todo a specfic test
+DATA   =  chkaddr.spf.example.com 127.0.1.255
+dbgtst :  debug
+          @ echo "doing chkspf with \"$(DATA)\""
+          @ ./bin/chkspf $(DATA)
+
 #--------------------------------------------------------------------
 #Installation procedure
 #--------------------------------------------------------------------
index f2faf17e782b369998c13fd19db9e15c39149cf9..287ca303ae88f16dd30afb3393364207495bda05 100644 (file)
@@ -191,7 +191,7 @@ while (proceed==true) {
       break;
     case 1      :       //getting the list of MX for mxdomain
       (void) printf("JMPDBG, checkaddr got <%s> ip<%s> cidr='%d'\n",
-                            addrdom,afnnum->strnumip,cidr);
+                             addrdom,afnnum->strnumip,cidr);
       break;
     default     :       //SAFE guard
       proceed=false;
index 4ff8ccd8721097fe3592cec8916e117e6579516c..dbd34792aaf2622b021262f7c857e8b77f3fb61b 100644 (file)
@@ -21,7 +21,7 @@
 
 //version definition 
 #define VERSION "0.4.2"
-#define RELEASE "35"
+#define RELEASE "36"
 
 //Public variables
 PUBLIC  int debug=0;            //debug level
@@ -614,10 +614,8 @@ if (mode!=modopen) {
       if (appname==(char *)0)
         appname=strdup(APPNAME);
       (void) openlog(appname,LOG_NDELAY|LOG_PID,LOG_DAEMON);
-      (void) rou_alert(0,"Starting: %s-%s",appname,rou_getversion());
       break;
     case false    :
-      (void) rou_alert(0,"Exiting: %s-%s",appname,rou_getversion());
       (void) closelog();
       if (appname!=(char *)0) {
         (void) free(appname);