I'm at work now, so I can't apply the patches till I go home again (at
work I have Sun boxes and a linux box, blahh)
=================================================================
| Kenneth Culver | FreeBSD: The best OS around. |
| Unix Systems Administrator | ICQ #: 24767726 |
| and student at The | AIM: AgRSkaterq |
| The University of Maryland, | Website: (Under Construction) |
| College Park. | http://www.wam.umd.edu/~culverk/|
=================================================================
On Thu, 27 Jan 2000, Yoshinobu Inoue wrote:
> > > 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