Hi,
Most of daemons like bgpd, ospfd, smtpd, relayd, ... use to return
"configuration OK" when the parsing of configuration file is correct.
This patch probably seems useless, it's just a thought to stay coherent
with an uniform behavior.


Index: pfctl.c
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl.c,v
retrieving revision 1.314
diff -u -r1.314 pfctl.c
--- pfctl.c     19 Sep 2012 15:52:17 -0000      1.314
+++ pfctl.c     23 Jan 2013 23:46:48 -0000
@@ -1342,6 +1342,8 @@
                            "pf rules not loaded");
                else
                        goto _error;
+       } else {
+               fprintf(stderr, "configuration OK\n");
        }

        if (pfctl_load_ruleset(&pf, path, rs, 0)) {



Cheers
-- 
Julien Dhaille

Reply via email to