Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 1999 15:31:41 +0200 (CEST)
From:      sec@pi.musin.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/14371: Log message is missing n
Message-ID:  <19991017133141.EBC7C349@yoda.pi.musin.de>

next in thread | raw e-mail | index | archive | help


>Number:         14371
>Category:       kern
>Synopsis:       Log message is missing \n
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 17 06:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
>Environment:

$FreeBSD: src/sys/netinet/if_ether.c,v 1.52.2.5 1999/09/16 00:50:37 lile Exp $

>Description:

The 'attempts to overwrite permanent arp entry' message is missing a \n at the
end.

See the following output-snippet of /etc/security

yoda kernel log messages:
> arp: 00:50:04:3d:38:14 attempts to modify permanent entry for 194.246.250.0 on ep0<3>arp: 00:50:04:3d:38:14 attempts to modify permanent entry for 194.246.250.0 on ep0<6>nfs server ewok:/usr/ports: not responding

>How-To-Repeat:

	

>Fix:
	
--- /usr/src/sys/netinet/if_ether.c	Thu Sep 16 19:23:25 1999
+++ /tmp/if_ether.c	Sun Oct 17 15:30:03 1999
@@ -556,7 +556,7 @@
 				ac->ac_if.if_name, ac->ac_if.if_unit);
 			else {
 			    log(LOG_ERR,
-				"arp: %6D attempts to modify permanent entry for %s on %s%d",
+				"arp: %6D attempts to modify permanent entry for %s on %s%d\n",
 				ea->arp_sha, ":", inet_ntoa(isaddr),
 				ac->ac_if.if_name, ac->ac_if.if_unit);
 			    goto reply;

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991017133141.EBC7C349>