From pawmal@unia.3lo.lublin.pl  Wed Feb 26 16:00:43 2003
Return-Path: <pawmal@unia.3lo.lublin.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BFA2737B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 16:00:43 -0800 (PST)
Received: from unia.3lo.lublin.pl (unia.3lo.lublin.pl [212.182.70.2])
	by mx1.FreeBSD.org (Postfix) with SMTP id 7A80F43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 16:00:42 -0800 (PST)
	(envelope-from pawmal@unia.3lo.lublin.pl)
Received: (qmail 45134 invoked by uid 1007); 27 Feb 2003 00:01:59 -0000
Message-Id: <20030227000159.45133.qmail@unia.3lo.lublin.pl>
Date: 27 Feb 2003 00:01:59 -0000
From: Pawel Malachowski <pawmal@unia.3lo.lublin.pl>
Reply-To: Pawel Malachowski <pawmal@unia.3lo.lublin.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: KLD dummynet with -DIPFW2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48729
>Category:       kern
>Synopsis:       KLD dummynet with -DIPFW2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 26 16:10:12 PST 2003
>Closed-Date:    Tue Apr 08 03:20:15 PDT 2003
>Last-Modified:  Tue Apr 08 03:20:15 PDT 2003
>Originator:     Pawel Malachowski
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
ASK ZiN
>Environment:
System: FreeBSD unia.3lo.lublin.pl 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 27 22:08:42 CET 2002 root@unia.3lo.lublin.pl:/usr/src/sys/compile/UNIA i386


	
>Description:

When compiling dummynet as KLD, make sure -DIPFW2 can be used,
/sys/modules/dummynet/Makefile could be more consistent with
/sys/modules/ipfw/Makefile.

>How-To-Repeat:

cd /sys/modules/dummynet && make -DIPFW2

>Fix:

*** Makefile.orig       Thu Feb 27 00:55:52 2003
--- Makefile    Thu Feb 27 00:56:45 2003
***************
*** 3,8 ****
--- 3,11 ----
  .PATH:  ${.CURDIR}/../../netinet
  KMOD=   dummynet
  SRCS=   ip_dummynet.c opt_bdg.h
+ .if defined(IPFW2)
+ CFLAGS+= -DIPFW2
+ .endif
  NOMAN=
  KMODDEPS= ipfw


	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->maxim 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Fri Mar 28 04:52:04 PST 2003 
Responsible-Changed-Why:  
I will commit this patch after 4.8-RELEASE, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48729 
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Tue Apr 8 03:19:06 PDT 2003 
State-Changed-Why:  
Fixed in rev. 1.1.2.2 src/sys/modules/dummynet/Makefile in RELENG_4. 
Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48729 
>Unformatted:
