Date: Mon, 15 Dec 2003 09:50:23 +0100 (CET) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sam@FreeBSD.org Subject: kern/60251: [Patch] Fix visualization of bridge version Message-ID: <200312150850.hBF8oNX1082318@armada.alexdupre.com> Resent-Message-ID: <200312151100.hBFB0V3I039369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60251 >Category: kern >Synopsis: [Patch] Fix visualization of bridge version >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 15 03:00:31 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD armada.alexdupre.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Dec 10 02:01:44 CET 2003 alex@armada.alexdupre.com:/usr/obj/usr/src/sys/ARMADA i386 >Description: The cvs keywords in sys/net/bridge.c are not expanded and so the net.link.ether.bridge.version sysctl is useless. Replace the keywords with $FreeBSD$. >How-To-Repeat: # sysctl net.link.ether.bridge.version net.link.ether.bridge.version: $Revision$ $Date$ >Fix: --- bridge.c.diff begins here --- --- bridge.c.orig Mon Dec 15 09:39:26 2003 +++ bridge.c Mon Dec 15 09:40:01 2003 @@ -199,7 +199,7 @@ SYSCTL_DECL(_net_link_ether); SYSCTL_NODE(_net_link_ether, OID_AUTO, bridge, CTLFLAG_RD, 0, "Bridge parameters"); -static char bridge_version[] = "$Revision$ $Date$"; +static char bridge_version[] = "$FreeBSD$"; SYSCTL_STRING(_net_link_ether_bridge, OID_AUTO, version, CTLFLAG_RD, bridge_version, 0, "software version"); --- bridge.c.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312150850.hBF8oNX1082318>