> > Maybe there was a message on here that I overlooked, I'm not sure, but how
> > exactly do I get rid of them?
> 
> It is not harmful but I should have lower the syslog level,
> sorry.
> I'll soon fix it.

I just added debug flag check instead of changing syslog
level.
Could you please try the following patch to
usr.sbin/inetd/inetd.c ?

Thanks,
Yoshinobu Inoue

Index: inetd.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v
retrieving revision 1.75
diff -u -r1.75 inetd.c
--- inetd.c     2000/01/25 14:52:10     1.75
+++ inetd.c     2000/01/27 04:41:15
@@ -1256,7 +1256,8 @@
                buf = ipsec_set_policy(policy_in, strlen(policy_in));
                if (buf != NULL) {
                        if (setsockopt(sep->se_fd, level, opt,
-                                       buf, ipsec_get_policylen(buf)) < 0) {
+                                       buf, ipsec_get_policylen(buf)) < 0 &&
+                           debug != 0) {
                                syslog(LOG_ERR,
                                        "%s/%s: ipsec initialization failed; %s",
                                        sep->se_service, sep->se_proto,
@@ -1271,7 +1272,8 @@
                buf = ipsec_set_policy(policy_out, strlen(policy_out));
                if (buf != NULL) {
                        if (setsockopt(sep->se_fd, level, opt,
-                                       buf, ipsec_get_policylen(buf)) < 0) {
+                                       buf, ipsec_get_policylen(buf)) < 0 &&
+                           debug != 0) {
                                syslog(LOG_ERR,
                                        "%s/%s: ipsec initialization failed; %s",
                                        sep->se_service, sep->se_proto,


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to